diff options
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..72538a9 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,22 @@ +fail_fast: true +repos: +- repo: local + hooks: + - id: format + name: Format + stages: [commit] + language: system + entry: pipenv run format + types: [python] + - id: lint + name: Lint + stages: [commit] + language: system + entry: pipenv run lint + types: [python] + - id: test + name: Test + stages: [commit] + language: system + entry: pipenv run test + types: [python] |
