mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Enforce warnings under test
This commit is contained in:
parent
894c4ac9ee
commit
afe1ba4f61
1 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
[pytest]
|
||||
norecursedirs = .git .* *.egg* old docs dist build
|
||||
addopts = -rw
|
||||
filterwarnings =
|
||||
error
|
||||
# python2.x `configparser` warns about native string but it works fine
|
||||
ignore:You passed a bytestring as `filenames`.*:DeprecationWarning
|
||||
# python3.4 raises this when importing setuptools
|
||||
ignore:The value of convert_charrefs will become True in 3.5.*:DeprecationWarning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue