.pre-commit-config.yaml
This file
Path
.pre-commit-config.yaml
71 lines · 2.0 KiB · YAML
Last changed by
⬆ Bump pre-commit hooks (#1967)pr-submit[bot]before adoption7b347db
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172# See https://pre-commit.com for more information# See https://pre-commit.com/hooks.html for more hooksrepos:- repo: https://github.com/pre-commit/pre-commit-hooks rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 hooks: - id: check-added-large-files - id: check-toml - id: check-yaml args: - --unsafe - id: end-of-file-fixer - id: trailing-whitespace
- repo: https://github.com/crate-ci/typos rev: 00f422f3b19c57bc6338715ebfe3316d38768461 # frozen: v1.50.3 hooks: - id: typos args: [--force-exclude]
- repo: local hooks: - id: local-ruff-check name: ruff check entry: uv run ruff check --force-exclude --fix --exit-non-zero-on-fix require_serial: true language: unsupported types: [python]
- id: local-ruff-format name: ruff format entry: uv run ruff format --force-exclude --exit-non-zero-on-format require_serial: true language: unsupported types: [python]
- id: local-mypy name: mypy check entry: uv run mypy typer require_serial: true language: unsupported pass_filenames: false
- id: local-ty name: ty check entry: uv run ty check typer require_serial: true language: unsupported pass_filenames: false
- id: add-release-date language: unsupported name: add date to latest release header entry: uv run python scripts/add_latest_release_date.py files: ^docs/release-notes\.md$ pass_filenames: false
- id: generate-readme language: unsupported name: generate README.md from index.md entry: uv run ./scripts/docs.py generate-readme files: ^docs/index\.md|scripts/docs\.py$ pass_filenames: false
- id: zizmor name: zizmor language: python entry: uv run zizmor . files: ^\.github\/workflows\/ require_serial: true pass_filenames: false