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