diff options
| author | 2022-12-01 09:36:18 +0100 | |
|---|---|---|
| committer | 2022-12-01 09:36:18 +0100 | |
| commit | 469092002b7f1e1657468941bd86ccd3738baac3 (patch) | |
| tree | f61cbeefd0bb3e30944165caa6dc5302725f8966 /.pre-commit-config.yaml | |
| parent | f57d4d02c5b8050694784e948086271a7f4e49e5 (diff) | |
| download | 2022-469092002b7f1e1657468941bd86ccd3738baac3.tar.gz 2022-469092002b7f1e1657468941bd86ccd3738baac3.tar.bz2 2022-469092002b7f1e1657468941bd86ccd3738baac3.zip | |
Added pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
| -rw-r--r-- | .pre-commit-config.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..1232470 --- /dev/null +++ b/.pre-commit-config.yaml | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # See https://pre-commit.com for more information | ||
| 2 | # See https://pre-commit.com/hooks.html for more hooks | ||
| 3 | repos: | ||
| 4 | - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| 5 | rev: v4.3.0 | ||
| 6 | hooks: | ||
| 7 | - id: trailing-whitespace | ||
| 8 | - id: end-of-file-fixer | ||
| 9 | - id: check-merge-conflict | ||
| 10 | - id: debug-statements | ||
| 11 | - id: fix-encoding-pragma | ||
| 12 | - repo: https://github.com/psf/black | ||
| 13 | rev: 22.10.0 | ||
| 14 | hooks: | ||
| 15 | - id: black | ||
