Runs pre-commit in all files to ensure they are formatted correctly
()
| 86 | |
| 87 | |
| 88 | def fix_formatting() -> None: |
| 89 | class="st">""class="st">"Runs pre-commit in all files to ensure they are formatted correctly"class="st">"" |
| 90 | print( |
| 91 | fclass="st">"{Fore.CYAN}[generate.fix linting] {Fore.RESET}Fixing formatting using pre-commit" |
| 92 | ) |
| 93 | call([class="st">"pre-commit", class="st">"run", class="st">"--all-files"]) |
| 94 | |
| 95 | |
| 96 | def check_links() -> None: |