Skip to content

Commit

Permalink
style: add isort commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
edeckers committed Mar 2, 2022
1 parent 98bc53e commit 6e36dc5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 9 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ repos:
- repo: https://github.com/pycqa/pylint
rev: pylint-2.6.0
hooks:
- id: pylint
args: [--rcfile=src/pylintrc]
- id: pylint
args: [--rcfile=src/pylintrc]
- repo: https://github.com/jorisroovers/gitlint
rev: v0.17.0
hooks:
- id: gitlint
args: [--staged, --msg-filename]
stages: [commit-msg]
- id: gitlint
args: [--staged, --msg-filename]
stages: [commit-msg]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 22.1.0
hooks:
Expand Down
3 changes: 0 additions & 3 deletions src/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
black==22.1.0
gitlint==0.17.0
pre-commit==2.17.0
pylint==2.9.1
PyYAML==6.0

0 comments on commit 6e36dc5

Please sign in to comment.