We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d2268d commit e8c3044Copy full SHA for e8c3044
src/idom/_console/update_html_usages.py
@@ -54,10 +54,8 @@ def update_html_usages(paths: list[str]) -> None:
54
if sys.version_info < (3, 9): # pragma: no cover
55
raise RuntimeError("This command requires Python>=3.9")
56
57
- at_least_one_file = False
58
for p in map(Path, paths):
59
for f in [p] if p.is_file() else p.rglob("*.py"):
60
- at_least_one_file = True
61
result = generate_rewrite(file=f, source=f.read_text())
62
if result is not None:
63
f.write_text(result)
0 commit comments