-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
88 lines (78 loc) · 2.03 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
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyben"
authors = [{name = "alexpdev", email = "[email protected]"}]
description = "Terminal based command line tool for creating Bittorrent files."
license = {file = "LICENSE"}
version = "0.3.3"
readme = "README.md"
requires-python = ">=3.5"
keywords = ["Bittorrent", "bencode", "library"]
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 :: Only",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers",
"Topic :: Utilities",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
]
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 80
[tool.autopep8]
max_line_length = 80
ignore = "E266"
in-place = true
recursive = true
aggressive = 3
[tool.pytest.ini_options]
testpaths = [
"tests",
"pyben",
]
console_output_style = "progress"
addopts = "--maxfail=5"
[tool.pylint. 'MESSAGES CONTROL']
disable = [
"R1729",
"W0108",
"W1514",
"C0415",
"redefined-outer-name",
"attribute-defined-outside-init",
"invalid-name",
"not-callable",
"consider-using-with",
"implicit-str-concat",
"protected-access"
]
[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