From 250e61a14a51c51ff449ebe09df238d0bd43aed5 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 16 Jul 2024 10:26:32 -0400 Subject: [PATCH] Pin `ruff==0.5.1` (#640) We pin most of our linters, but we have gotten away so far without pinning ruff. However, today CI is broken because the ruff 0.5.2 (patchlevel) release seems to have added a rule. (Or maybe it fixed a rule that was broken before. Either way, it broke us.) From here forward, let's pin ruff, too, and dependabot can propose updating the version from time to time, just as it does with the other linters. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 941d123d1..6dd60b907 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ nbtest = [ style = [ "autoflake==2.3.1", "black[jupyter]~=24.1", - "ruff>=0.0.246", + "ruff==0.5.1", "nbqa>=1.6.0", ] lint = [