-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.cfg
43 lines (41 loc) · 1014 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
43
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning
#-- flake8 --
[flake8]
# Some sane defaults for the code style checker flake8
max-line-length = 100
max-complexity = 15
doctests=true
ignore =
B008 # Do not perform function calls in argument defaults
D1 # Public code object needs docstring
DAR # Disable dargling errors by default
E203 # Whitespace before ':' (black formatter breaks this sometimes)
E501 # Line too long (using Bugbear's B950 warning)
W503 # Line break occurred before a binary operator
E731 # Do not assign a lambda expression, use a def
C901 # Function is too complex
exclude =
.eggs
.gt_cache
.ipynb_checkpoints
.tox
_local_
build
dist
docs
_external_src
tests/_disabled
setup.py
__init__.py
rst-roles=
py:mod, mod,
py:func, func,
py:data, data,
py:const, const,
py:class, class,
py:meth, meth,
py:attr, attr,
py:exc, exc,
py:obj, obj,