(cmd: code_writer_cmd)
| 284 | |
| 285 | |
| 286 | def main(cmd: code_writer_cmd) -> None: |
| 287 | for path in [functions_py, test_functions_py]: |
| 288 | destination_path = path |
| 289 | tempfile = process_functions(destination_path, cmd) |
| 290 | cmd.run_zimports(tempfile) |
| 291 | cmd.run_black(tempfile) |
| 292 | cmd.write_output_file_from_tempfile(tempfile, destination_path) |
| 293 | |
| 294 | |
| 295 | functions_py = "lib/sqlalchemy/sql/functions.py" |
no test coverage detected