1[pytest] 2norecursedirs=dist build .tox .eggs 3addopts= 4 --doctest-modules 5 --doctest-glob=pkg_resources/api_tests.txt 6 -r sxX 7doctest_optionflags=ALLOW_UNICODE ELLIPSIS 8filterwarnings= 9 # Fail on warnings 10 error 11 12 ## upstream 13 # Suppress deprecation warning in flake8 14 ignore:SelectableGroups dict interface is deprecated::flake8 15 16 # shopkeep/pytest-black#55 17 ignore:<class 'pytest_black.BlackItem'> is not using a cooperative constructor:pytest.PytestDeprecationWarning 18 ignore:The \(fspath. py.path.local\) argument to BlackItem is deprecated.:pytest.PytestDeprecationWarning 19 ignore:BlackItem is an Item subclass and should not be a collector:pytest.PytestWarning 20 21 # tholo/pytest-flake8#83 22 ignore:<class 'pytest_flake8.Flake8Item'> is not using a cooperative constructor:pytest.PytestDeprecationWarning 23 ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning 24 ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning 25 26 # dbader/pytest-mypy#131 27 ignore:The \(fspath. py.path.local\) argument to MypyFile is deprecated.:pytest.PytestDeprecationWarning 28 ## end upstream 29 30 # https://github.com/pypa/setuptools/issues/1823 31 ignore:bdist_wininst command is deprecated 32 # Suppress this error; unimportant for CI tests 33 ignore:Extraction path is writable by group/others:UserWarning 34 # Suppress weird RuntimeWarning. 35 ignore:Parent module 'setuptools' not found while handling absolute import:RuntimeWarning 36 # Suppress use of bytes for filenames on Windows until fixed #2016 37 ignore:The Windows bytes API has been deprecated:DeprecationWarning 38 39 # https://github.com/pypa/setuptools/issues/2823 40 ignore:setuptools.installer is deprecated. 41 42 # https://github.com/pypa/setuptools/issues/917 43 ignore:setup.py install is deprecated. 44 ignore:easy_install command is deprecated. 45 46 # https://github.com/pypa/setuptools/issues/2497 47 ignore:.* is an invalid version and will not be supported::pkg_resources 48 49 # https://github.com/pypa/setuptools/pull/2865#issuecomment-965700112 50 # ideally would apply to Python 3.10+ when 51 # SETUPTOOLS_USE_DISTUTILS=stdlib but for 52 # https://github.com/pytest-dev/pytest/discussions/9296 53 ignore:The distutils.sysconfig module is deprecated, use sysconfig instead 54 ignore:The distutils package is deprecated.* 55 56 # Workaround for pypa/setuptools#2868 57 # ideally would apply to PyPy only but for 58 # https://github.com/pytest-dev/pytest/discussions/9296 59 ignore:Distutils was imported before setuptools 60 ignore:Setuptools is replacing distutils 61 62 ignore:Support for project metadata in .pyproject.toml. is still experimental 63