mirror of
https://github.com/django/django.git
synced 2025-01-18 22:33:44 +00:00
Moved isort config from setup.cfg to pyproject.toml.
This commit is contained in:
parent
edcf8532ff
commit
7dd19a367e
@ -5,3 +5,8 @@ build-backend = 'setuptools.build_meta'
|
|||||||
[tool.black]
|
[tool.black]
|
||||||
target-version = ['py310']
|
target-version = ['py310']
|
||||||
force-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'
|
force-exclude = 'tests/test_runner_apps/tagged/tests_syntax_error.py'
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = 'black'
|
||||||
|
default_section = 'THIRDPARTY'
|
||||||
|
known_first_party = 'django'
|
||||||
|
@ -59,8 +59,3 @@ per-file-ignores =
|
|||||||
django/core/cache/backends/base.py:W601
|
django/core/cache/backends/base.py:W601
|
||||||
django/core/cache/backends/redis.py:W601
|
django/core/cache/backends/redis.py:W601
|
||||||
tests/cache/tests.py:W601
|
tests/cache/tests.py:W601
|
||||||
|
|
||||||
[isort]
|
|
||||||
profile = black
|
|
||||||
default_section = THIRDPARTY
|
|
||||||
known_first_party = django
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user