From 328909b4c2bae0b5a1a5f5087af7c3f9a193aad9 Mon Sep 17 00:00:00 2001 From: Hanif Birgani Date: Sun, 12 Sep 2021 00:00:07 +0430 Subject: [PATCH] Move duplicated isort config from setup.cfg to pyproject.toml There were duplicated config for isort in two files, this PR merge them into pyproject.toml --- pyproject.toml | 2 ++ setup.cfg | 7 ------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 37cb872f..cfa5c376 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,3 +19,5 @@ exclude = ''' [tool.isort] profile = "black" multi_line_output = 3 +include_trailing_comma = "True" +known_first_party = "django_components" diff --git a/setup.cfg b/setup.cfg index ccd56a57..6f0f07e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,3 @@ [flake8] ignore = E302,W503 max-line-length = 119 - -[isort] -line_length = 119 -multi_line_output = 5 -include_trailing_comma = True -known_first_party = - django_components