diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 530abf4e8f6dfa6d0d8b84e29033848f5b6def88..7b71c6987c185a7890a72799e5cab57c49566f3a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,3 +61,20 @@ repos: stages: - post-commit - push + + - repo: local + hooks: + - id: format + name: format + language: system + pass_filenames: false + entry: make format + types: [ python ] + + - id: linter + name: linter + language: system + pass_filenames: false + stages: [ push ] + entry: make lint + types: [ python ]