# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.5 hooks: - id: forbid-crlf - id: remove-crlf - id: chmod args: ['644'] files: \.md$ - id: insert-license files: \.py$ args: - --license-filepath - LICENSE_header.txt - --comment-style - "#" - --use-current-year - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. rev: v0.6.8 hooks: # ruff lint #- id: ruff #args: [ --fix ] # ruff fmt - id: ruff-format - repo: https://github.com/commitizen-tools/commitizen rev: v3.29.1 hooks: - id: commitizen - id: commitizen-branch stages: [push] - repo: local hooks: - id: pytest name: pytest entry: ./.venv/bin/pytest tests language: system types: [python] pass_filenames: false always_run: true