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