Skip to content

Commit 3c5d0f1

Browse files
committed
maint: add configurations of flake8 and pytest to setup.cfg
1 parent e1adf1c commit 3c5d0f1

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

setup.cfg

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ parentdir_prefix =
9494

9595
[flake8]
9696
max-line-length = 99
97-
doctests = True
98-
exclude=*build/,*/_afq/*
97+
doctests = False
98+
exclude=*build/,*/.afq/*
9999
select = C,E,F,W,B,B950
100100
ignore = N802,N806,W504,E203
101101
putty-ignore =
@@ -105,4 +105,9 @@ putty-ignore =
105105

106106
[tool:pytest]
107107
norecursedirs = .* _*
108-
addopts = --doctest-modules
108+
addopts = -vx --doctest-modules
109+
doctest_optionflags = ALLOW_UNICODE NORMALIZE_WHITESPACE
110+
env =
111+
PYTHONHASHSEED=0
112+
filterwarnings =
113+
ignore::DeprecationWarning

0 commit comments

Comments
 (0)