mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Moved isort config from setup.cfg to pyproject.toml.
This commit is contained in:
parent
edcf8532ff
commit
7dd19a367e
2 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue