diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1b59f44ee..f683e7626 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,3 +5,15 @@ repos: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace + - repo: local + hooks: + - id: check-format + name: check-format + entry: rye fmt --check + language: system + types: [python] + - id: lint + name: lint + entry: rye lint + language: system + types: [python]