-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
101 lines (88 loc) · 2.29 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "torrentfileQt"
description = "GUI based tool for creating Bittorrent files."
requires-python = ">=3.6"
keywords = ["GUI", "Bittorrent", "metafile", "torrentfile"]
authors = [{name = "alexpdev", email = "alexpdev@pm.me"}]
license = {file = "LICENSE"}
version = "0.4.1"
classifiers=[
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"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",
"License :: OSI Approved :: Apache Software License",
]
dependencies = ["torrentfile", "PySide6"]
dynamic = ["readme"]
[project.urls]
homepage = "https://github.com/alexpdev/torrentfileQt"
repository = "https://github.com"
issues = "https://github.com/alexpdev/torrentfileQt/issues"
[project.scripts]
torrentfileqt = "torrentfileQt.__main__:main"
[tool.setuptools.dynamic]
readme = {file = ["README.md"]}
[tool.setuptools]
packages = ["torrentfileQt"]
include-package-data = true
[tool.bandit]
skips = ["B101"]
[tool.black]
line-length = 80
[tool.autopep8]
max_line_length = 83
ignore = "E266"
in-place = true
recursive = true
aggressive = 3
[tool.pytest.ini_options]
testpaths = [
"tests",
"torrentfileQt",
]
console_output_style = "progress"
addopts = "--maxfail=1"
[tool.pylint.messages_control]
disable= [
'redefined-outer-name',
'unspecified-encoding',
'protected-access',
'attribute-defined-outside-init',
'consider-using-with',
'use-a-generator',
'not-callable',
'useless-super-delegation',
'invalid-name',
'no-name-in-module',
'redefined-builtin',
'subprocess-run-check',
'no-member',
'consider-using-f-string',
'too-few-public-methods',
'too-many-lines'
]
[tool.pylint.format]
max-line-length = 80
max-module-lines = 1000
single-line-if-stmt ='yes'
[tool.pylint.basic]
good-names = [
'l','r','g','b','w','i','j','k','v','n','x',
'y','l','z','ex','ok','fd','d','Run','_'
]
[tool.pylint.design]
max-args = 15
max-attributes = 35
max-branches = 28
max-locals = 20
max-parents = 7
max-public-methods = 30
max-returns = 6
max-statements = 120