# See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks exclude: ^(docs/|notebooks/|data/|src/secrets/|src/static/|src/templates/|tests) default_language_version: python: python3.10 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml exclude: bamboo-specs/bamboo.yml # - repo: https://github.com/pycqa/pylint # rev: v2.16.1 # hooks: # - id: pylint # args: # ["--max-line-length=120", "--errors-only", "--ignore-imports=true", ] - repo: https://github.com/pre-commit/mirrors-isort rev: v5.10.1 hooks: - id: isort args: ["--profile", "black"] - repo: https://github.com/psf/black rev: 23.12.1 hooks: - id: black # exclude: ^(docs/|notebooks/|data/|src/secrets/) args: - --line-length=120 # - repo: local # hooks: # - id: system # name: PyLint # entry: poetry run pylint # language: system # exclude: ^alembic/ # files: \.py$