Skip to content

Commit

Permalink
Merge pull request #2600 from neutrinoceros/sty_precommit_hooks
Browse files Browse the repository at this point in the history
Add precommit hooks for flake8, isort and black (YTEP0037 5/6)
  • Loading branch information
matthewturk authored Jul 19, 2020
2 parents a6ad121 + 3853049 commit 7c06dd9
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 7c06dd9

Please sign in to comment.