mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-04 21:57:43 +03:00
Enable run-time type checking during tests
This commit is contained in:
parent
23a2989b77
commit
11f7559ef3
2 changed files with 2 additions and 2 deletions
2
setup.py
Executable file → Normal file
2
setup.py
Executable file → Normal file
|
@ -52,7 +52,7 @@ WEB_FILES = ["web/internal_data/css/icon.png",
|
|||
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
|
||||
pytest_runner = ["pytest-runner"] if needs_pytest else []
|
||||
tests_require = ["pytest-runner", "pytest", "pytest-cov", "pytest-flake8",
|
||||
"pytest-isort", "waitress"]
|
||||
"pytest-isort", "typeguard", "waitress"]
|
||||
os.environ["PYTEST_ADDOPTS"] = os.environ.get("PYTEST_ADDOPTS", "")
|
||||
# Mypy only supports CPython
|
||||
if sys.implementation.name == "cpython":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue