--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-yaml args: [--allow-multiple-documents] - id: end-of-file-fixer - id: trailing-whitespace - repo: local hooks: - id: black name: black entry: poetry run black src language: system types: [python] pass_filenames: false - id: ruff name: ruff entry: poetry run ruff --fix src language: system types: [python] pass_filenames: false - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.3.2 hooks: - id: prettier