Skip to content

Commit

Permalink
Tweak Ruff configuration (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen authored May 1, 2023
1 parent a0db505 commit 87606f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,14 @@ extend-select = [
"SIM", # flake8-simplify
"TID", # flake8-tidy-imports
]
extend-ignore = ["RUF005"]
src = ["src"]

[tool.ruff.isort]
force-sort-within-sections = true
# For non-src directory projects, explicitly set top level package names:
# known-first-party = ["my-app"]

[tool.ruff.flake8-tidy-imports]
ban-relative-imports = "all"

Expand Down

0 comments on commit 87606f3

Please sign in to comment.