diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1ca71df..b5a9bd0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,10 +18,10 @@ repos: - --py36-plus # Autoformat: Python code - - repo: https://github.com/asottile/reorder_python_imports - rev: v3.0.1 + - repo: https://github.com/pycqa/isort + rev: 5.10.1 hooks: - - id: reorder-python-imports + - id: isort # Autoformat: Python code - repo: https://github.com/psf/black diff --git a/pyproject.toml b/pyproject.toml index e81f0658..41e217a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,6 @@ +[tool.isort] +profile = "black" + [tool.black] skip-string-normalization = true target_version = [