Skip to content

Commit

Permalink
Move isort configuration to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed Oct 27, 2023
1 parent afd2032 commit 721be6a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
13 changes: 13 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,16 @@ exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]

[tool.isort]
forced_separate = [
"tests",
"pytest_django",
"pytest_django_test",
]
combine_as_imports = true
include_trailing_comma = true
line_length = 79
multi_line_output = 5
lines_after_imports = 2
extend_skip = ["pytest_django/_version.py"]
10 changes: 0 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,3 @@ pytest_django = py.typed
ignore = W503
max-line-length = 99
exclude = lib/,src/,docs/,bin/,pytest_django/_version.py

[isort]
forced_separate = tests,pytest_django,pytest_django_test
combine_as_imports = true
default_section = THIRDPARTY
include_trailing_comma = true
line_length = 79
multi_line_output = 5
lines_after_imports = 2
extend_skip = pytest_django/_version.py

0 comments on commit 721be6a

Please sign in to comment.