From 23606d9e83c1f71eefb532a19c570f49f5c28188 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:04:17 +1100 Subject: [PATCH] pkg: pin version of `ruff` If you switch between different branches, by the time you get back to `main`, a different version of `ruff` might be installed that has slightly different formatting rules. This leads to incorrect formatting changes. Pinning `ruff` avoids this issue. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b7d5ac4d2f..695c7a0549 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,8 +112,8 @@ dependencies = [ ] "dev" = ["jurigged", "pudb", "snakeviz", "gprof2dot"] "test" = [ - "ruff", - "ruff-lsp", + "ruff>=0.3.3", + "ruff-lsp>=0.0.53", "mypy", "pre-commit", "pytest>6.0.0",