1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-10 18:40:53 +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

@ -25,6 +25,7 @@ import posixpath
import shutil
import sys
import tempfile
from typing import Any, ClassVar
import defusedxml.ElementTree as DefusedET
import pytest
@ -1549,7 +1550,8 @@ class BaseRequestsMixIn:
class BaseFileSystemTest(BaseTest):
"""Base class for filesystem backend tests."""
storage_type = None
storage_type: ClassVar[Any]
def setup(self):
self.configuration = config.load()