- id: ruff
types_or: [python, pyi, jupyter]
args: [--fix]
- exclude: .*[Tt]est.*
+ exclude: |
+ (?x)^(
+ .*[Tt]est.*|
+ __init__.py
+ )$
# Run the formatter.
- id: ruff-format
types_or: [python, pyi, jupyter]
- - repo: https://github.com/asonolet/clang-hooks
- rev: v0.1 # Use the sha / tag you want to point at
+ - repo: https://github.com/pre-commit/mirrors-mypy
+ rev: v1.8.0
+ hooks:
+ - id: mypy
+ exclude: |
+ (?x)^(
+ .*[Tt]est.*
+ )$
+ args: [--ignore-missing-imports, --explicit-package-bases]
+ - repo: https://github.com/pre-commit/mirrors-clang-format
+ rev: v17.0.6 # Use the sha / tag you want to point at
hooks:
- id: clang-format
# - id: clang-tidy