diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d4f167b..eb1319b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,8 @@ repos: rev: "21.6b0" hooks: - id: black - - repo: https://github.com/asottile/reorder_python_imports - rev: v2.5.0 + - repo: https://github.com/pycqa/isort + rev: 5.8.0 hooks: - - id: reorder-python-imports + - id: isort + name: isort (python) diff --git a/setup.cfg b/setup.cfg index 1608e93..59f3793 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,3 +21,6 @@ extend-ignore = max-line-length = 88 exclude = .eggs,build import-order-style = smarkets + +[isort] +force_single_line=true