-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (56 loc) · 1.49 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[build-system]
requires = ["poetry_core>=1.0.8"]
build-backend = "poetry.core.masonry.api"
[tool.black]
target-version = ["py311"]
line-length = 79 # default: 88
[tool.isort]
py_version = 311
add_imports = ["from __future__ import annotations"]
atomic = true
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
lines_after_imports = 2
multi_line_output = 3
use_parentheses = true
[tool.mypy]
python_version = 3.11
enable_error_code = [
"ignore-without-code",
]
strict = true
disallow_subclassing_any = false
warn_return_any = false
[[tool.mypy.overrides]]
module = [
"pywikibot.*",
]
ignore_missing_imports = true
[tool.poetry]
authors = ["JJMC89"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki",
"Typing :: Typed",
]
description = "Non-free content bot"
keywords = ["bot", "NFC", "NFCC", "non-free", "wikipedia"]
license = "MIT"
name = "nfcbot"
readme = "README.md"
repository = "https://github.com/jjmc89-bot/nfcbot"
version = "0.3.0"
[tool.poetry.dependencies]
python = "^3.11"
mwparserfromhell = "0.6.6"
pywikibot = {version = "9.3.0", extras = ["mwoauth", "mysql"]}
pywikibot-extensions = "23.3.25"
[tool.poetry.scripts]
nfcbot = "nfcbot.cli:cli"