From a5629cb7bccdd723ec9a5224db9d43b050deaa25 Mon Sep 17 00:00:00 2001 From: ex36 <96800594+Torchee@users.noreply.github.com> Date: Fri, 15 Nov 2024 23:52:15 -0500 Subject: [PATCH] Added ruff plugin changed setup.py to require ruff and updated pyproject.toml --- 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={