| # Install the pre-commit hooks below with |
| # 'pre-commit install' |
| |
| # Auto-update the version of the hooks with |
| # 'pre-commit autoupdate' |
| |
| # Run the hooks on all files with |
| # 'pre-commit run --all' |
| |
| repos: |
| - repo: https://github.com/google/pyink |
| rev: 23.10.0 |
| hooks: |
| - id: pyink |
| language_version: python3.11 |
| - repo: https://github.com/pre-commit/pre-commit-hooks |
| rev: v4.3.0 |
| hooks: |
| - id: check-ast |
| - id: check-toml |
| - id: check-xml |
| - id: check-yaml |
| - id: end-of-file-fixer |
| - id: name-tests-test |
| - id: trailing-whitespace |
| exclude: ^docs/.*\.md$ |