-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
109 lines (94 loc) · 2.6 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "torrentfile"
authors = [{name = "alexpdev", email = "[email protected]"}]
description = "Terminal based command line tool for creating Bittorrent files."
version = "0.9.1"
readme = "README.md"
requires-python = ">=3.6"
keywords = ["Bittorrent", "torrent", "bittorrent-metafiles", "CLI", "torrentfile"]
classifiers = [
"Environment :: Console",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"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",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
]
dependencies = ["pyben"]
[project.scripts]
torrentfile = "torrentfile:main"
tfile = "torrentfile:main"
[project.urls]
homepage = "https://github.com/alexpdev/torrentfile"
repository = "https://github.com"
documentation = "https://alexpdev.github.io/torrentfile"
changelog = "https://alexpdev.github.io/torrentfile/changelog/"
issues = "https://github.com/alexpdev/torrentfile/issues"
[tool.setuptools]
packages = ["torrentfile"]
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 79
[tool.autopep8]
max_line_length = 80
ignore = "E266"
in-place = true
recursive = true
aggressive = 3
[tool.pytest.ini_options]
testpaths = [
"tests",
"torrentfile",
]
console_output_style = "progress"
addopts = "--maxfail=3"
[tool.pylint. 'MESSAGES CONTROL']
disable = [
"R1729",
"W0108",
"W0106",
"redefined-outer-name",
"attribute-defined-outside-init",
"invalid-name",
"not-callable",
"consider-using-with",
"implicit-str-concat",
"no-member"
]
[tool.pylint. 'VARIABLES']
callbacks = ["cb_", "_cb", "hook_"]
[tool.pylint. 'FORMAT']
max-line-length = 80
single-line-if-stmt = true
[tool.pylint.'SIMILARITIES']
ignore-comments = true
ignore-docstrings=true
ignore-imports=true
[tool.pylint. 'DESIGN']
max-args=15
min-public-methods=0
max-attributes=20
max-statements=75
max-branches=20
min-similarity-lines=4
max-locals=25
[tool.isort]
multi_line_output = 4
length_sort_straight = true
line_length = 80
wrap_length = 79