Skip to content

Commit ddc7178

Browse files
committed
remove unused var
1 parent ae44179 commit ddc7178

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/idom/_console/update_html_usages.py

-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ def update_html_usages(paths: list[str]) -> None:
5454
if sys.version_info < (3, 9): # pragma: no cover
5555
raise RuntimeError("This command requires Python>=3.9")
5656

57-
at_least_one_file = False
5857
for p in map(Path, paths):
5958
for f in [p] if p.is_file() else p.rglob("*.py"):
60-
at_least_one_file = True
6159
result = generate_rewrite(file=f, source=f.read_text())
6260
if result is not None:
6361
f.write_text(result)

0 commit comments

Comments
 (0)