--- repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.6.1 hooks: - id: ruff args: - --output-format=full exclude: ^source/tools/webservices/ - id: ruff-format args: - --check - --target-version - py311 exclude: ^source/tools/webservices/ - repo: local hooks: - id: non-breaking-space-in-0ad name: check for non-breaking space in "0 A.D." description: | Verify a non-breaking spaces is used in the project name ("0 A.D"). entry: '0(?!(\xc2\xa0|\\xa0)A\.D\.)\s?(?