Skip to content

Commit

Permalink
chore: Add pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal committed Jan 24, 2020
1 parent 830d81a commit b7ed60b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/timothycrosley/isort
rev: '4.3.21-2'
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: stable
hooks:
- id: black
language_version: python3.7
3 changes: 3 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
nose~=1.3
pylint~=2.4
pep8~=1.7
isort~=4.3.21
black~=19.10b0
pre-commit~=1.21.0

0 comments on commit b7ed60b

Please sign in to comment.