diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1241da7..8762a8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/examples/pw_base.py b/examples/pw_base.py index fe08cb9..8a87912 100644 --- a/examples/pw_base.py +++ b/examples/pw_base.py @@ -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