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