Skip to content

Commit

Permalink
Adds pre-commit hooks for black, flake8, isort
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismoradi committed May 21, 2022
1 parent 27dace6 commit e5b89ca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/psf/black
rev: 21.12b0
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ black==21.12b0
websockets==10.1
maturin==0.12.11
isort==5.10.1
pre-commit==2.19.0

0 comments on commit e5b89ca

Please sign in to comment.