exclude: ^(poetry.lock|.idea/|Drivers/|Core/|gnwmanager/cli/gnw_patch/) repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: "v0.14.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror rev: 25.11.0 hooks: - id: black args: - "--line-length=120" - "--target-version=py38" - "--target-version=py39" - "--target-version=py310" - "--target-version=py311" types: [python] - repo: https://github.com/adamchainz/blacken-docs rev: 1.20.0 hooks: - id: blacken-docs additional_dependencies: - "black==23.3.0" args: - "--line-length=120" - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-added-large-files - id: check-ast - id: check-builtin-literals - id: check-case-conflict - id: check-docstring-first - id: check-shebang-scripts-are-executable - id: check-merge-conflict - id: check-json - id: check-toml - id: check-xml - id: check-yaml - id: debug-statements exclude: ^(gnwmanager/cli/_debug.py) - id: destroyed-symlinks - id: detect-private-key - id: end-of-file-fixer exclude: ^LICENSE|\.(html|csv|txt|svg|py)$ - id: pretty-format-json args: ["--autofix", "--no-ensure-ascii", "--no-sort-keys"] - id: requirements-txt-fixer - id: trailing-whitespace args: [--markdown-linebreak-ext=md] exclude: \.(html|svg)$ - repo: https://github.com/codespell-project/codespell rev: v2.4.1 additional_dependencies: - tomli hooks: - id: codespell exclude: pyproject.toml - repo: https://github.com/RobertCraigie/pyright-python rev: v1.1.407 hooks: - id: pyright ci: autofix_commit_msg: | [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci autofix_prs: false autoupdate_branch: "" autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate" autoupdate_schedule: weekly skip: [pyright] submodules: false