diff --git a/setup.cfg b/setup.cfg index ebddd8b6..5fc43b51 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,31 +6,11 @@ max-line-length = 140 exclude = tests/*,*/migrations/*,*/south_migrations/* [tool:pytest] -# using the deprecated name instead of [tool:pytest] cause we test with older pytest versions -norecursedirs = - .git - .tox - .env - venv - dist - build - south_migrations - migrations - example -python_files = - test_*.py - *_test.py - tests.py +testpaths = tests +python_files = test_*.py addopts = - -rxEfsw + -ra --strict - --ignore=docs/conf.py - --ignore=setup.py - --ignore=src - --ignore=ci - --ignore=.eggs - --doctest-modules - --doctest-glob=\*.rst --tb=short -p pytester