ruff: enable UP ruleset for detecting python deprecations
This commit is contained in:
parent
2849870773
commit
7eef1f9fc2
9 changed files with 27 additions and 22 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue