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:
parent
94a1181dc6
commit
23a2989b77
8 changed files with 35 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue