Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 691 B
Newer Older
repos:

  - repo: https://github.com/charliermarsh/ruff-pre-commit
Anton Akhmerov's avatar
Anton Akhmerov committed
    rev: "v0.6.4"
    hooks:
      - id: ruff
Anton Akhmerov's avatar
Anton Akhmerov committed
      - id: ruff-format

  - repo: https://github.com/PyCQA/doc8
Anton Akhmerov's avatar
Anton Akhmerov committed
    rev: "v1.1.2"
    hooks:
      - id: doc8

  - repo: https://github.com/codespell-project/codespell
Anton Akhmerov's avatar
Anton Akhmerov committed
    rev: v2.3.0
    hooks:
      - id: codespell
        stages: [commit]
        additional_dependencies:
          - tomli

  # Prevent committing inline conflict markers
  - repo: https://github.com/pre-commit/pre-commit-hooks
Anton Akhmerov's avatar
Anton Akhmerov committed
    rev: v4.6.0
    hooks:
      - id: check-merge-conflict
        args: [--assume-in-merge]
      - id: check-yaml
      - id: end-of-file-fixer
      - id: trailing-whitespace