-
Notifications
You must be signed in to change notification settings - Fork 446
/
setup.cfg
42 lines (39 loc) · 1.26 KB
/
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
[codespell]
ignore-words-list = buildd,crate,keyserver,comandos,ro,astroid,assertIn,socio-economic
skip = waf,*.tar,*.xz,*.zip,*.bz2,*.7z,*.gz,*.deb,*.rpm,*.snap,*.comp,*.gpg,*.pyc,*.png,*.ico,*.jar,*.so,changelog,.git,.hg,.mypy_cache,.tox,.venv,venv,_build,buck-out,__pycache__,build,dist,.vscode,parts,stage,prime,test_appstream.py,./snapcraft.spec,./.direnv,./.pytest_cache,.ruff_cache,*.asc
quiet-level = 4
[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
[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 = override