Add ruff rule to help migrating to numpy 2.0

This commit is contained in:
mbsantiago 2024-11-10 19:13:11 +00:00
parent cb088359ae
commit 95bb0985e7

View File

@ -65,7 +65,7 @@ docstring-code-format = true
docstring-code-line-length = 79 docstring-code-line-length = 79
[tool.ruff.lint] [tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "B", "Q", "I"] select = ["E4", "E7", "E9", "F", "B", "Q", "I", "NPY201"]
[tool.ruff.lint.pydocstyle] [tool.ruff.lint.pydocstyle]
convention = "numpy" convention = "numpy"