mirror of
https://github.com/hanzo-ds/connect.git
synced 2026-10-30 20:31:24 +00:00
* chore: add local mypy pre-commit hook mirroring CI * prevent mypy running on non py modified files --------- Co-authored-by: Joe S <[email protected]>
16 lines
312 B
YAML
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$
|