summaryrefslogtreecommitdiff
path: root/kvmd/validators/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-03-07 15:43:10 +0300
committerDevaev Maxim <[email protected]>2021-03-07 15:43:10 +0300
commit7443b7e98d9e9ffcd7330057739bf2390578caac (patch)
tree6c784b11859e9dfb481f8435b9e432ee4858b38e /kvmd/validators/__init__.py
parent99a6e1644abf37c77b3887f9fcd13857daed3105 (diff)
lint fix
Diffstat (limited to 'kvmd/validators/__init__.py')
-rw-r--r--kvmd/validators/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/validators/__init__.py b/kvmd/validators/__init__.py
index adb9735b..d66dec56 100644
--- a/kvmd/validators/__init__.py
+++ b/kvmd/validators/__init__.py
@@ -95,7 +95,7 @@ def check_len(arg: _RetvalSeqT, name: str, limit: int) -> _RetvalSeqT:
return arg
-def check_any(arg: Any, name: str, validators: List[Callable[[Any], Any]]) -> Any:
+def check_any(arg: Any, name: str, validators: List[Callable[[Any], Any]]) -> Any: # pylint: disable=inconsistent-return-statements
for validator in validators:
try:
return validator(arg)