From fd9541bb767c180a1edc9ffe6c83ecc5f84a7358 Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Thu, 22 Sep 2022 06:25:16 +0100 Subject: [PATCH] chore: simplify isort config by using the profile for black (#1595) * chore: simplify isort config by using the profile for black * docs: add info to CHANGES Co-authored-by: Sijis Aviles --- CHANGES.rst | 1 + setup.cfg | 7 +------ tox.ini | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 870630d1a..c9591fbe4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -21,6 +21,7 @@ fixes: - chore: remove campfire references (#1584) - chore/setup: fix exception when installing on python <3.7 (#1585) - docs: typos (#1589, #1594) +- chore: simplify isort config using black (#1595) v6.1.9 (2022-06-11) diff --git a/setup.cfg b/setup.cfg index a53a79d27..aeb42b025 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,9 +7,4 @@ ignore = E741,E722 exclude = errbot/config-template.py, tests/config-ci.py [isort] -multi_line_output = 3 -include_trailing_comma = True -force_grid_wrap = 0 -use_parentheses = True -ensure_newline_before_comments = True -line_length = 88 +profile = black diff --git a/tox.ini b/tox.ini index 837a3138f..98691e4cd 100644 --- a/tox.ini +++ b/tox.ini @@ -25,7 +25,7 @@ commands = [testenv:sort] deps = isort -commands = isort --check-only --profile=black errbot/ +commands = isort --check-only errbot/ [testenv:security] deps =