aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-10-22 07:25:58 +0000
committerGravatar GitHub <[email protected]>2021-10-22 07:25:58 +0000
commit3983d28349fd9be55627f6284b3d2e4b96fe37ce (patch)
tree3cb578f8751a5efce8c8b000e1d9184d21941a0e
parentIsort: give the codebase a sort (diff)
Precommit: add an isort hook
-rw-r--r--.pre-commit-config.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7244cb4e..a2e9a398 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -12,6 +12,11 @@ repos:
rev: v1.5.1
hooks:
- id: python-check-blanket-noqa
+ - repo: https://github.com/pycqa/isort
+ rev: 5.8.0
+ hooks:
+ - id: isort
+ name: isort (python)
- repo: local
hooks:
- id: flake8