Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
amureki committed Jun 28, 2024
1 parent 9fe0b9e commit 0222be2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ disallow_untyped_calls = true
[tool.pytest.ini_options]
addopts = "--tb=short -rxs --nomigrations"

[tool.ruff]
target-version = "py38"

[tool.ruff.lint]
select = [
"S", # flake8-bandit
"B", # flake8-bugbear
Expand All @@ -113,19 +111,19 @@ select = [

ignore = ["B904", "E501", "S101", "D1", "D212"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"tests/test_*.py" = [
"S",
]

[tool.ruff.isort]
[tool.ruff.lint.isort]
combine-as-imports=true
split-on-trailing-comma=true
section-order = ["future", "standard-library", "django", "third-party", "first-party", "local-folder"]
force-wrap-aliases=true

[tool.ruff.isort.sections]
[tool.ruff.lint.isort.sections]
django = ["django"]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

0 comments on commit 0222be2

Please sign in to comment.