From 03cb1e02c3e049ff4c9191eb90a7bbefaa8d9c7d Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 5 Feb 2024 16:56:07 -0500 Subject: [PATCH] enable NPY Signed-off-by: Jinzhe Zeng --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 32758449..0b099cb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 @@ -101,5 +102,5 @@ ignore = [ ] ignore-init-module-imports = true -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "numpy"