Browse Source

Moved isort config from setup.cfg to pyproject.toml.

Claude Paroz 1 year ago
parent
commit
7dd19a367e
2 changed files with 5 additions and 5 deletions
  1. 5 0
      pyproject.toml
  2. 0 5
      setup.cfg

+ 5 - 0
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'

+ 0 - 5
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