repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.5.0 hooks: - id: check-merge-conflict - id: check-toml - id: check-yaml args: [--unsafe] # Required due to custom constructors (e.g. !ENV) - id: end-of-file-fixer - id: trailing-whitespace args: [--markdown-linebreak-ext=md] - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.5.1 hooks: - id: python-check-blanket-noqa - repo: https://github.com/pycqa/isort rev: 5.12.0 hooks: - id: isort name: isort (python) - repo: local hooks: - id: flake8 name: Flake8 description: This hook runs flake8 within our project's environment. entry: poetry run flake8 language: system types: [python] require_serial: true