1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +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

@ -31,6 +31,7 @@ import os
import string
from collections import OrderedDict
from configparser import RawConfigParser
from typing import Any, ClassVar
from radicale import auth, rights, storage, web
@ -285,7 +286,7 @@ def load(paths=()):
class Configuration:
SOURCE_MISSING = {}
SOURCE_MISSING: ClassVar[Any] = {}
def __init__(self, schema):
"""Initialize configuration.