diff options
author | Ben Brown <ben@demerara.io> | 2022-02-05 15:30:14 +0000 |
---|---|---|
committer | Ben Brown <ben@demerara.io> | 2022-02-05 16:04:55 +0000 |
commit | d67c456242e7c05eb77f0dc78856c1d704fba846 (patch) | |
tree | 3601b148e73ed8ce017a0f0d27fc6cd3b127371b /.pre-commit-config.yaml | |
parent | 88d27d9997b2efb6082657cb33ba8b48751aae55 (diff) | |
download | lorry-d67c456242e7c05eb77f0dc78856c1d704fba846.tar.gz |
Add configs for linting and style checking via pre-commit
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..11a48c0 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +repos: + - repo: https://github.com/psf/black + rev: 22.1.0 + hooks: + - id: black + - repo: https://gitlab.com/pycqa/flake8 + rev: 3.9.2 + hooks: + - id: flake8 + - repo: https://github.com/pycqa/isort + rev: 5.10.1 + hooks: + - id: isort |