Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
Update ruff settings to be aligned with the latest usage.
  • Loading branch information
CunliangGeng committed Mar 18, 2024
1 parent 5f1c885 commit c6ceed9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ ignore_missing_imports = true
[tool.ruff]
target-version = "py310"
line-length = 100

[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle (error)
Expand Down Expand Up @@ -100,7 +102,7 @@ fixable = ["A", "B", "C", "D", "E", "F", "I"]
ignore-init-module-imports = true


[tool.ruff.isort]
[tool.ruff.lint.isort]
known-first-party = ["nplinker"]
force-single-line = true
lines-after-imports = 2
Expand Down

0 comments on commit c6ceed9

Please sign in to comment.