diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index accd46aaeebece..41e77280a9f957 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -62,7 +62,7 @@ repos: - id: flake8 args: ["--config=.flake8"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.5 + rev: v0.2.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --no-cache] diff --git a/pyproject.toml b/pyproject.toml index eaf239288bd39a..b5165bdb5bea33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ select = [ # NumPy-specific rules "NPY001", "NPY003", + "NPY201", # Bugbear "B002",