summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2024-01-05 08:15:45 +0100
committerGitHub <noreply@github.com>2024-01-05 08:15:45 +0100
commit7dd19a367e58752bc0b138f5b1a9a3aa35581965 (patch)
treee1fa587329608082761d1446316f63e18e0f96c4
parentedcf8532ffda006bc125d9c93fca59f9037f490f (diff)
Moved isort config from setup.cfg to pyproject.toml.
-rw-r--r--pyproject.toml5
-rw-r--r--setup.cfg5
2 files changed, 5 insertions, 5 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 2c776030ce..f8632ac3ce 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,3 +5,8 @@ build-backend = 'setuptools.build_meta'
[tool.black]
target-version = ['py310']
force-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'
+
+[tool.isort]
+profile = 'black'
+default_section = 'THIRDPARTY'
+known_first_party = 'django'
diff --git a/setup.cfg b/setup.cfg
index 2f92092aa9..29814e54e6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -59,8 +59,3 @@ per-file-ignores =
django/core/cache/backends/base.py:W601
django/core/cache/backends/redis.py:W601
tests/cache/tests.py:W601
-
-[isort]
-profile = black
-default_section = THIRDPARTY
-known_first_party = django