1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-09-15 20:36:55 +00:00

Enable static type checking

This commit is contained in:
Unrud 2020-10-04 15:13:01 +02:00 committed by Unrud
parent 34bec01c9b
commit 73e42f8101
9 changed files with 36 additions and 7 deletions

View file

@ -58,7 +58,7 @@ from radicale.log import logger
# WORKAROUND: https://github.com/tiran/defusedxml/issues/54
import defusedxml.ElementTree as DefusedET # isort: skip
sys.modules["xml.etree"].ElementTree = ET
sys.modules["xml.etree"].ElementTree = ET # type: ignore[attr-defined]
VERSION = pkg_resources.get_distribution("radicale").version