Introduce some stricter typing

This commit is contained in:
Dave Halter
2026-02-04 01:19:14 +01:00
parent c7481b3319
commit 30ef824abd
28 changed files with 171 additions and 67 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ def _iter_pytest_modules(module_context, skip_own_module=False):
folder = folder.get_parent_folder()
# prevent an infinite for loop if the same parent folder is return twice
if last_folder is not None and folder.path == last_folder.path:
if last_folder is not None and folder.path == last_folder.path: # type: ignore # TODO
break
last_folder = folder # keep track of the last found parent name
+1 -1
View File
@@ -134,7 +134,7 @@ def execute(callback):
except KeyError:
pass
else:
return func(value, arguments=arguments, callback=call)
return func(value, arguments=arguments, callback=call) # type: ignore
return call()
return wrapper