Merge branch 'enforce_warnings' into 'master'

Enforce warnings under test

Closes #275

See merge request pycqa/flake8!280
This commit is contained in:
Ian Stapleton Cordasco 2019-01-08 13:59:56 +00:00
commit 751bbd1148

View file

@ -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