From b1e5b8b647e91ad015a9524a50f3bb7f3947ba67 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Tue, 5 Jan 2021 17:54:08 -0500 Subject: [PATCH] style: isort --- .pre-commit-config.yaml | 5 +++++ setup.cfg | 4 ++++ 2 files changed, 9 insertions(+) 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