Skip to content

Commit 4f0924a

Browse files
committed
maint: update setup.cfg
1 parent 49296ac commit 4f0924a

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

setup.cfg

+19-7
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ style =
8181
flake8 >= 3.7.0
8282
test =
8383
pytest >= 4.4
84-
pytest-xdist >= 1.28
85-
pytest-cov
84+
pytest-xdist >= 2.0
85+
pytest-cov >= 2.10.1
86+
pytest-env
8687
coverage
8788
tests =
8889
%(test)s
@@ -111,16 +112,27 @@ max-line-length = 99
111112
doctests = False
112113
ignore =
113114
W503
115+
E231
116+
E203
114117
exclude =
115118
*build/
116-
*/.afq/*
117-
docs/
119+
docs/sphinxext/
120+
docs/tools/
121+
per-file-ignores =
122+
**/__init__.py : F401
123+
docs/conf.py : E265
118124

119125
[tool:pytest]
120-
norecursedirs = .* _*
121-
addopts = -vx --doctest-modules
122-
doctest_optionflags = ALLOW_UNICODE NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
126+
norecursedirs = .git
127+
addopts = -vsx --doctest-modules
128+
doctest_optionflags = ALLOW_UNICODE NORMALIZE_WHITESPACE NUMBER
123129
env =
124130
PYTHONHASHSEED=0
125131
filterwarnings =
126132
ignore::DeprecationWarning
133+
ignore::PendingDeprecationWarning
134+
ignore:cmp not installed:UserWarning
135+
ignore:This has not been fully tested:UserWarning
136+
137+
[coverage:run]
138+
concurrency = multiprocessing

0 commit comments

Comments
 (0)