Skip to content

Commit

Permalink
Merge pull request #165 from notatallshaw/enable-isort
Browse files Browse the repository at this point in the history
Enable isort via ruff
  • Loading branch information
frostming authored Aug 2, 2024
2 parents 34e7f83 + 37b8b82 commit 4cb0a23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions news/165.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable isorting via ruff
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ name = 'Trivial Changes'
showcontent = false

[tool.ruff]
src = ["src"]
line-length = 88

[tool.ruff.lint]
select = ["C","E","F","W","B","RUF","PLE","PLW"]
select = ["C","E","F","W","B","RUF","PLE","PLW","I"]
ignore = ["PLW2901"]
exclude = [
".git",
Expand All @@ -96,9 +97,6 @@ exclude = [
"*.pyi"
]

[tool.ruff.lint.isort]
known-first-party = ["resolvelib"]

[tool.mypy]
warn_unused_configs = true

Expand Down

0 comments on commit 4cb0a23

Please sign in to comment.