From 1aec6b8ec256247cfe0d3c4b40d533a480c8d53b Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 9 Jan 2021 17:00:01 +0000 Subject: [PATCH] tests: add isort --- .pre-commit-config.yaml | 4 ++++ setup.cfg | 1 + 2 files changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56246607..159c8aa2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,3 +45,7 @@ repos: - flake8-comprehensions - flake8-debugger - flake8-string-format +- repo: https://github.com/PyCQA/isort + rev: 5.7.0 + hooks: + - id: isort diff --git a/setup.cfg b/setup.cfg index d846f4e8..b0b437c6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -105,6 +105,7 @@ split_before_named_assigns=False split_before_closing_bracket=False [isort] +line_length=88 multi_line_output=4 known_first_party=tqdm,tests