forked from canonical/charmcraft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
18 lines (16 loc) · 799 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[flake8]
exclude = .direnv .git .mypy_cache .pytest_cache .venv __pycache__ venv build *.egg_info dist snap
max-line-length = 99
select = E,W,F,C,N
# E203 whitespace before ‘:’ (Not PEP8 compliant, Python Black)
# W503 line break before binary operator (Not PEP8 compliant, Python Black)
extend-ignore = E203,W503
[pydocstyle]
# D105 Missing docstring in magic method (reason: magic methods already have definitions)
# 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)
# D215 Section underline is over-indented (reason: pep257 default)
ignore = D105, D107, D203, D213, D215
[aliases]
test = pytest