From c37ec3e1997b8a1940c8614df44e8a767a985471 Mon Sep 17 00:00:00 2001 From: X_Ethan_X Date: Sat, 16 Nov 2024 00:33:09 -0500 Subject: [PATCH] Ruff plugin for convokit 3.0.1 (#247) Co-authored-by: Ethan Xia Co-authored-by: seanzhangkx8 <106214464+seanzhangkx8@users.noreply.github.com> --- pyproject.toml | 3 +++ setup.py | 1 + 2 files changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 849f27d1..60280c9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,3 +5,6 @@ exclude = ''' | venv )/ ''' + +[tool.ruff.lint] +select = ["NPY201"] \ No newline at end of file diff --git a/setup.py b/setup.py index 629d4e04..63097263 100644 --- a/setup.py +++ b/setup.py @@ -60,6 +60,7 @@ "thinc>=8.3.0,<8.4.0", "h5py==3.12.1", "numexpr>=2.8.0", + "ruff>=0.4.8", "bottleneck", ], extras_require={