mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-03 21:27:36 +03:00
Enable static type checking
This commit is contained in:
parent
34bec01c9b
commit
73e42f8101
9 changed files with 36 additions and 7 deletions
|
@ -5,6 +5,7 @@ test = pytest
|
|||
python-tag = py3
|
||||
|
||||
[tool:pytest]
|
||||
# More options are set in `setup.py` via environment variable `PYTEST_ADDOPTS`
|
||||
addopts = --flake8 --isort --cov --cov-report=term --cov-report=xml -r s
|
||||
norecursedirs = dist .cache .git build Radicale.egg-info .eggs venv
|
||||
|
||||
|
@ -15,6 +16,10 @@ known_third_party = defusedxml,passlib,pkg_resources,pytest,vobject
|
|||
[flake8]
|
||||
extend-ignore = H
|
||||
|
||||
[mypy]
|
||||
ignore_missing_imports = True
|
||||
show_error_codes = True
|
||||
|
||||
[coverage:run]
|
||||
branch = True
|
||||
source = radicale
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue