Files
connect/.pre-commit-config.yaml
7b8c0d42a8 chore: add local mypy pre-commit hook mirroring CI (#814)
* chore: add local mypy pre-commit hook mirroring CI

* prevent mypy running on non py modified files

---------

Co-authored-by: Joe S <[email protected]>
2026-06-23 15:14:33 -07:00

16 lines
312 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.8
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: mypy
name: mypy
entry: mypy
language: system
pass_filenames: false
files: \.py$