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