forked from canonical/snapcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
42 lines (39 loc) · 959 Bytes
/
setup.cfg
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
[flake8]
# E501 line too long
# E203 whitespace before ':'
extend-ignore = E203, E501
max-complexity = 10
max-line-length = 88
exclude =
# No need to traverse our git directory
.direnv,
.git,
.hg,
.mypy_cache,
.tox,
.venv,
.vscode,
_build,
buck-out,
# There's no value in checking cache directories
__pycache__,
# This contains builds of flake8 that we don't want to check
build,
dist,
# snapcraft generated
parts,
stage,
prime
[mypy]
python_version = 3.8
ignore_missing_imports = True
follow_imports = silent
[pycodestyle]
max-line-length = 88
ignore = E203,E501
[pydocstyle]
# D107 Missing docstring in __init__ (reason: documented in class docstring)
# D203 1 blank line required before class docstring (reason: pep257 default)
# D213 Multi-line docstring summary should start at the second line (reason: pep257 default)
ignore = D107, D203, D213
ignore_decorators = overrides