Skip to content

Commit

Permalink
use tool.ruff.lint
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz authored Feb 5, 2024
1 parent 39922ad commit 98e3394
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ write_to = "dpgen/_version.py"
[tool.isort]
profile = "black"

[tool.ruff]
[tool.ruff.lint]
select = [
"I", # isort
"E", # errors
Expand Down Expand Up @@ -110,5 +110,5 @@ ignore = [
]
ignore-init-module-imports = true

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

0 comments on commit 98e3394

Please sign in to comment.