diff --git a/pyproject.toml b/pyproject.toml index 63817fec..0067c204 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,10 +110,10 @@ num_workers = 4 show_error_codes = true [tool.pytest] -addopts = [ "--color=yes" ] +addopts = [ "--color=yes", "--doctest-modules", "--pyargs" ] filterwarnings = [ "error" ] minversion = "9.0" -testpaths = [ "tests" ] +testpaths = [ "tests", "humanize" ] [tool.coverage] run.disable_warnings = [ "no-sysmon" ] # 3.11 diff --git a/tox.ini b/tox.ini index 9197a76d..de0e5095 100644 --- a/tox.ini +++ b/tox.ini @@ -41,6 +41,3 @@ deps = -r requirements-mypy.txt commands = mypy . {posargs} - -[pytest] -addopts = --color=yes --doctest-modules