Skip to content

Commit

Permalink
isort custom section sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Apr 14, 2023
1 parent d02c35a commit a649379
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ ignore = [
"D203",
"D213",
]
isort = {known-first-party = [
"example",
], section-order = [
"future",
"standard-library",
"third-party",
"first-party",
"local-folder",
]}
per-file-ignores = {"test_*" = [
"S101",
]}
Expand Down Expand Up @@ -127,9 +136,6 @@ select = [
"YTT",
]
target-version = "py38"
isort.known-first-party = [
"example",
]
mccabe.max-complexity = 18
pep8-naming.classmethod-decorators = [
"classmethod",
Expand All @@ -146,6 +152,7 @@ spaces_indent_inline_array = 4
trailing_comma_inline_array = true
overrides."project.classifiers".inline_arrays = false
overrides."tool.coverage.paths.source".inline_arrays = false
overrides."tool.ruff.isort.section-order".inline_arrays = false

[tool.tox]
legacy_tox_ini = """
Expand Down

0 comments on commit a649379

Please sign in to comment.