Pre commit
repository_manager_pre_commitExecute pre-commit hooks to run checks on all files or update hook versions, ensuring code quality before commits.
Instructions
Execute pre-commit commands in the specified path.
Args: run (bool): Whether to run 'pre-commit run --all-files'. Default True. autoupdate (bool): Whether to run 'pre-commit autoupdate'. Default False. path (str, optional): Path to run in. Defaults to self.path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| path | No | ||
| autoupdate | No |