Runs pre-commit in all files to ensure they are formatted correctly
()
| 71 | |
| 72 | |
| 73 | def fix_formatting(): |
| 74 | """Runs pre-commit in all files to ensure they are formatted correctly""" |
| 75 | print( |
| 76 | f"{Fore.CYAN}[generate.fix linting] {Fore.RESET}Fixing formatting using pre-commit" |
| 77 | ) |
| 78 | call(["pre-commit", "run", "--all-files"]) |
| 79 | |
| 80 | |
| 81 | def check_links(): |