diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 67788c45..5c522043 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,6 @@ ci: skip: [flake8, mypy] repos: - - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.1.0 - hooks: - - id: check-yaml - exclude: pymatgen/analysis/vesta_cutoffs.yaml - - id: end-of-file-fixer - - id: trailing-whitespace - repo: https://github.com/myint/autoflake rev: v1.4 @@ -33,6 +26,14 @@ repos: - id: pyupgrade args: [--py38-plus] + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.1.0 + hooks: + - id: check-yaml + exclude: pymatgen/analysis/vesta_cutoffs.yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: