repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: end-of-file-fixer - repo: https://github.com/psf/black rev: 25.1.0 hooks: - id: black alias: python files: ^tubearchivist-metrics/ args: ["--line-length=120"] - repo: https://github.com/pycqa/isort rev: 6.0.1 hooks: - id: isort name: isort (python) alias: python files: ^tubearchivist-metrics/ args: ["--profile", "black", "-l 120"] - repo: https://github.com/pycqa/flake8 rev: 7.1.2 hooks: - id: flake8 alias: python files: ^tubearchivist-metrics/ args: ["--max-complexity=10", "--max-line-length=120"] - repo: https://github.com/codespell-project/codespell rev: v2.4.1 hooks: - id: codespell