diff --git a/pyproject.toml b/pyproject.toml index 60114c7..eedbd2f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,6 +2,24 @@ requires = ["setuptools>=35.0.2", "wheel>=0.29.0"] build-backend = "setuptools.build_meta" +[tool.pytest.ini_options] +minversion = "6.0" +addopts = "-v --tb=short" +norecursedirs = [ + ".eggs", + ".git", + ".pytest_cache", + ".tox", + "build", + "dist", + "docs", + "env", + "venv", +] +testpaths = [ + "tests", +] + [tool.tox] legacy_tox_ini = """ [tox] diff --git a/setup.cfg b/setup.cfg index 8b92fb2..fd77a7d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,16 +21,3 @@ ignore_missing_imports = true warn_unreachable = true warn_unused_ignores = true warn_redundant_casts = true - -[tool:pytest] -norecursedirs = - .eggs - .git - .pytest_cache - .tox - build - dist - docs - env - venv -addopts = -v --tb=short