forked from C2SM/iconarray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
53 lines (48 loc) · 1.12 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
43
44
45
46
47
48
49
50
51
52
53
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning
console_output_style = progress
testpaths = iconarray
[flake8]
max-line-length = 100
max-complexity = 15
doctests = false
ignore =
B008 # Do not perform function calls in argument defaults
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
DAR000 # Unexpected exception in darglint: Multiple types should be combined into a Union
D107 # Missing docstring in __init__
D105 # Missing docstring in magic method
exclude =
.eggs
.gt_cache
.ipynb_checkpoints
.tox
_local_
build
dist
doc/*
_external_src
tests/_disabled
setup.py
__init__.py
env/*
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,
[darglint]
docstring_style = numpy
[bumpversion:file:setup.py]
[bumpversion:file:doc/conf.py]
[bumpversion:file:env/environment.yml]