-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
30 lines (27 loc) · 921 Bytes
/
setup.cfg
File metadata and controls
30 lines (27 loc) · 921 Bytes
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
[flake8]
exclude =
.*,
__pycache__,
build,
dist,
max-line-length = 80
max-complexity = 10
ignore =
F403, # ‘from module import *’ used; unable to detect undefined names
D100, # Missing docstring in public module
D101, # Missing docstring in public class
D102, # Missing docstring in public method
D103, # Missing docstring in public function
D104, # Missing docstring in public package
D105, # Missing docstring in magic method
D106, # Missing docstring in public nested class
D107, # Missing docstring in __init__
D401, # First line should be in imperative mood
D413, # Missing blank line after last section
W503, # Line break occurred before a binary operator
E731, # Do not assign a lambda expression, use a def
[aliases]
test=pytest
[tool:pytest]
# Run tests only autodoc tests, skip submodules etc.
testpaths=tests