repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.8.6 hooks: - id: ruff args: [--fix] files: ^python_sidecar/.*\.py$ - id: ruff-format files: ^python_sidecar/.*\.py$ - repo: local hooks: - id: prettier name: prettier entry: npx prettier --write language: system types_or: [javascript, jsx, ts, tsx, json, css, scss, markdown, yaml] - id: eslint name: eslint entry: npx eslint --fix language: system files: \.(ts|tsx)$ exclude: ^python_sidecar/