Skip to content

Commit

Permalink
🔧 Add isort to pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
mbercx committed Apr 22, 2023
1 parent 6b915bd commit b35338b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ repos:
'--fail-on-change',
]

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
hooks:
- id: isort

## Seems to be conflicting with one of the previous pre-commits (e.g. on the number of empty
## lines after a class docstring)
#- repo: https://github.com/PyCQA/pydocstyle
Expand Down
3 changes: 1 addition & 2 deletions examples/pw_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@
import typing as ty
import warnings

from qe_tools import CONSTANTS

from aiida import load_profile, orm, plugins
from qe_tools import CONSTANTS

from aiida_submission_controller import BaseSubmissionController

Expand Down

0 comments on commit b35338b

Please sign in to comment.