repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/charliermarsh/ruff-pre-commit rev: v0.11.13 hooks: - id: ruff name: ruff (auto-fix & format) args: [--fix] files: ^src/greek_lang/.*\.py$ stages: [pre-commit] - id: ruff name: ruff (lint only) args: [check] files: ^src/greek_lang/.*\.py$ stages: [pre-push] - repo: local hooks: - id: mypy-all name: mypy (strict on all libs) entry: bash -c 'mypy --strict src/greek_lang language: system pass_filenames: false always_run: true