-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
69 lines (61 loc) · 2.02 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
68
69
[tool.poetry]
name = "PTPAPI"
version = "0.10.3"
description = "A small API for a mildly popular movie site"
authors = ["kannibalox <[email protected]>"]
repository = "https://github.com/kannibalox/PTPAPI"
packages = [
{ include = "ptpapi", from = "src" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.7.2,<4.0"
guessit = "^3.4.3"
pyrosimple = "^2.7.0"
requests = "^2.27.1"
Tempita = "^0.5.2"
beautifulsoup4 = "^4.10.0"
"bencode.py" = "^4.0.0"
humanize = "^4.0.0"
libtc = "^1.3.1"
ruamel-yaml = {version = "^0.17.33", optional = true}
[tool.poetry.scripts]
ptp = "ptpapi.scripts.ptp:main"
"ptp-reseed" = "ptpapi.scripts.ptp_reseed:main"
"ptp-reseed-machine" = "ptpapi.scripts.ptp_reseed_machine:main"
[tool.poetry.extras]
origin = ["ruamel-yaml"]
[tool.poetry.group.dev.dependencies]
mypy = "^1.1.1"
black = "23.3.0"
pylint = "2.17.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pylint]
[tool.pylint.'MESSAGES CONTROL']
disable="locally-disabled, superfluous-parens, no-else-return, too-many-arguments,logging-not-lazy, logging-format-interpolation, too-few-public-methods, protected-access, duplicate-code, consider-using-f-string, fixme, invalid-name, line-too-long, design, missing-function-docstring, missing-class-docstring, missing-module-docstring"
[tool.isort]
profile = "black"
force_single_line = false
atomic = true
include_trailing_comma = true
lines_after_imports = 2
lines_between_types = 1
use_parentheses = true
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true