ruff: enable UP ruleset for detecting python deprecations

This commit is contained in:
Dima Gerasimov 2024-08-27 23:12:57 +01:00
parent 2849870773
commit 7eef1f9fc2
9 changed files with 27 additions and 22 deletions

View file

@ -12,8 +12,7 @@ from .discovery_pure import HPIModule, _is_not_module_src, has_stats, ignored
def modules() -> Iterable[HPIModule]:
import my
for m in _iter_all_importables(my):
yield m
yield from _iter_all_importables(my)
__NOT_HPI_MODULE__ = 'Import this to mark a python file as a helper, not an actual HPI module'