Runs pre-commit in all files to ensure they are formatted correctly
()
| 86 | |
| 87 | |
| 88 | def fix_formatting() -> None: |
| 89 | """Runs pre-commit in all files to ensure they are formatted correctly""" |
| 90 | print( |
| 91 | f"{Fore.CYAN}[generate.fix linting] {Fore.RESET}Fixing formatting using pre-commit" |
| 92 | ) |
| 93 | call(["pre-commit", "run", "--all-files"]) |
| 94 | |
| 95 | |
| 96 | def check_links() -> None: |
no outgoing calls
no test coverage detected
searching dependent graphs…