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

This commit is contained in:
Claude Paroz 2024-01-05 08:15:45 +01:00 committed by GitHub
parent edcf8532ff
commit 7dd19a367e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -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