]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/typing.py
fix style issue found by flake8
[nominatim.git] / src / nominatim_db / typing.py
index 6f0145c36e4d8753561476dcf61d3b55ad42f220..f26e1b0506b8b6ba96cecbe7bac28ff02bd30605 100644 (file)
@@ -11,9 +11,6 @@ Complex type definitions are moved here, to keep the source files readable.
 """
 from typing import Any, Union, Mapping, TypeVar, Sequence, TYPE_CHECKING
 
-# Generics variable names do not confirm to naming styles, ignore globally here.
-# pylint: disable=invalid-name,abstract-method,multiple-statements
-# pylint: disable=missing-class-docstring,useless-import-alias
 
 if TYPE_CHECKING:
     import os
@@ -26,9 +23,11 @@ SysEnv = Mapping[str, str]
 
 T_ResultKey = TypeVar('T_ResultKey', int, str)
 
+
 class DictCursorResult(Mapping[str, Any]):
     def __getitem__(self, x: Union[int, str]) -> Any: ...
 
+
 DictCursorResults = Sequence[DictCursorResult]
 
 # The following typing features require typing_extensions to work