forked from canonical/snapcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
52 lines (46 loc) · 980 Bytes
/
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
[tool.black]
exclude = '''
/(
\.git
| \.direnv
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| \.vscode
| _build
| buck-out
| __pycache__
| build
| dist
# specific to snapcraft
| ^/parts
| ^/stage
| ^/prime
)/
'''
[tool.isort]
# black-compatible isort configuration
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
[tool.pylint.messages_control]
# duplicate-code can't be disabled locally: https://github.com/PyCQA/pylint/issues/214
disable = "too-few-public-methods,fixme,use-implicit-booleaness-not-comparison,duplicate-code,unnecessary-lambda-assignment"
[tool.pylint.format]
max-attributes = 15
max-args = 6
max-locals = 20
good-names = "id"
[tool.pylint.MASTER]
extension-pkg-allow-list = [
"lxml.etree",
"pydantic",
"pytest",
]
load-plugins = "pylint_fixme_info,pylint_pytest"
[tool.pylint.SIMILARITIES]
min-similarity-lines=10