1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-28 19:40:54 +00:00

Enable static type checking

This commit is contained in:
Unrud 2020-10-04 15:13:01 +02:00
parent 94a1181dc6
commit 23a2989b77
8 changed files with 35 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