-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.cfg
40 lines (35 loc) · 925 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
[aliases]
test=pytest
[tool:pytest]
xfail_strict = true
# removing pytest-xdist config currently since that conflicts with -s option in --mock-level=LEAST tests
addopts = --verbose -n auto --durations=0 --durations-min=1
testpaths = test/unit_tests
[isort]
line_length = 100
multi_line_output = 3
include_trailing_comma = true
profile = black
[flake8]
ignore =
# not pep8, black adds whitespace before ':'
E203,
# not pep8, https://www.python.org/dev/peps/pep-0008/#pet-peeves
E231,
# not pep8, black adds line break before binary operator
W503,
# Google Python style is not RST until after processed by Napoleon
# See https://github.com/peterjc/flake8-rst-docstrings/issues/17
RST201,RST203,RST301,
max_line_length = 100
max-complexity = 10
exclude =
__pycache__
.tox
.git
bin
build
venv
rst-roles =
# Python programming language:
py:func,py:mod,mod