diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7a90bf34..020d0068 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,6 +11,11 @@ repos: - id: mixed-line-ending - id: trailing-whitespace +- repo: https://github.com/PyCQA/isort + rev: 5.7.0 + hooks: + - id: isort + - repo: https://github.com/pre-commit/mirrors-mypy rev: v0.790 hooks: diff --git a/setup.cfg b/setup.cfg index 7f60b783..3ba3b866 100644 --- a/setup.cfg +++ b/setup.cfg @@ -111,3 +111,7 @@ ignore_missing_imports = True [mypy-bashlex.*] ignore_missing_imports = True + +[tool:isort] +profile=black +multi_line_output=3