From 1e296ddaa20690cc4fedfdefc42903e72d3a641e Mon Sep 17 00:00:00 2001 From: suhail-edstem Date: Sat, 21 Feb 2026 14:29:15 +0530 Subject: [PATCH] Update ruff to version 0.15.2 and pin in tox.ini --- .pre-commit-config.yaml | 2 +- pyproject.toml | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1ef98fdf8..d638d7026 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.0 # also update pyproject.toml + rev: v0.15.2 # also update pyproject.toml hooks: # Run the linter. - id: ruff-check diff --git a/pyproject.toml b/pyproject.toml index b547dc664..50aa183bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,7 +113,7 @@ test = [ ] formatting = [ - "ruff==0.15.0", # also update .pre-commit-config.yaml + "ruff==0.15.2", # also update .pre-commit-config.yaml "pre-commit", ] diff --git a/tox.ini b/tox.ini index aee3b782e..7f54fb0fd 100644 --- a/tox.ini +++ b/tox.ini @@ -44,7 +44,7 @@ commands = [testenv:ruff] # use tox -e ruff to format the code base -deps = ruff +deps = ruff==0.15.2 skip_install = True commands = ruff format