-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
65 lines (51 loc) · 1.19 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
[tool.black]
line-length = 120
target-version = ['py310']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pylint]
load-plugins = ['pylint_flask', 'pylint_django', 'pylint_autopep8']
[tool.pylint.MESSAGES_CONTROL]
enable = ['C', 'R', 'W', 'E', 'F']
[tool.pylint.BASIC]
indent-string = ' '
[tool.pylint.FORMAT]
max-line-length = 120
[tool.pylint.TYPECHECK]
ignored-classes = ['_ABCMeta']
[tool.pylint.VARIABLES]
init-import = true
[tool.pylint.SIMILARITIES]
min-similarity-lines = 4
ignore-comments = true
[tool.pylint.TYPING]
ignore-mixin-members = true
[tool.pylint.LOGGING]
logging-modules = ['logging']
[tool.pylint.LOGGING.HANDLER]
disable-existing-loggers = true
[tool.pylint.DESIGN]
max-args = 10
[tool.pylint.EXCEPTIONS]
exception-msg-template = '{module}.{function}: {message}'
[tool.pylint.CLASSES]
max-methods = 20
[tool.pylint.REPORTS]
output-format = 'colorized'
include-ids = true
files-output = false
reports = true
evaluation = '10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)'
comment = false