Skip to content

Commit

Permalink
enable NPY
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 be3dbea commit 03cb1e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,14 @@ write_to = "dpdata/_version.py"
[tool.isort]
profile = "black"

[tool.ruff]
[tool.ruff.lint]
select = [
"E", # errors
"F", # pyflakes
"D", # pydocstyle
"UP", # pyupgrade
"I", # isort
"NPY", # numpy
]
ignore = [
"E501", # line too long
Expand All @@ -101,5 +102,5 @@ ignore = [
]
ignore-init-module-imports = true

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

0 comments on commit 03cb1e0

Please sign in to comment.