MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / run

Function run

tools/normalize_file_headers.py:50–56  ·  view source on GitHub ↗
(cmd: code_writer_cmd, update_year: bool)

Source from the content-addressed store, hash-verified

48
49
50def run(cmd: code_writer_cmd, update_year: bool):
51 i = 0
52 for ext in ("py", "pyx", "pxd"):
53 for file in sa_path.glob(f"**/*.{ext}"):
54 run_file(cmd, file, update_year)
55 i += 1
56 cmd.write_status(f"\nDone. Processed {i} files.")
57
58
59if __name__ == "__main__":

Callers 1

Calls 2

write_statusMethod · 0.80
run_fileFunction · 0.70

Tested by

no test coverage detected