/
pytest.ini
35 lines (26 loc) · 1.14 KB
/
pytest.ini
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
[pytest]
norecursedirs=dist build .tox .eggs
addopts=
--doctest-modules
--import-mode importlib
filterwarnings=
## upstream
# Ensure ResourceWarnings are emitted
default::ResourceWarning
# shopkeep/pytest-black#55
ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning
ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning
ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning
# shopkeep/pytest-black#67
ignore:'encoding' argument not specified::pytest_black
# realpython/pytest-mypy#152
ignore:'encoding' argument not specified::pytest_mypy
# python/cpython#100750
ignore:'encoding' argument not specified::platform
# pypa/build#615
ignore:'encoding' argument not specified::build.env
## end upstream
# workaround for https://github.com/jaraco/configparser/issues/42
ignore:You passed a bytestring:DeprecationWarning:backports.configparser
# workaround for https://github.com/jaraco/configparser/issues/43
ignore:Unicode equal comparison failed to convert:UnicodeWarning:backports.configparser