Skip to content

Commit

Permalink
ci: add precommit hooks for flake8, isort and black
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jul 18, 2020
1 parent acd6d79 commit 3853049
Showing 1 changed file with 13 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 @@
- repo: https://gitlab.com/pycqa/flake8
rev: ''
hooks:
- id: flake8
- repo: https://github.com/timothycrosley/isort
rev: ''
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 19.10b0
hooks:
- id: black
language_version: python3.7

0 comments on commit 3853049

Please sign in to comment.