From d08f3b6bbb1e102361e562a81828ed63f3c3fd86 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Fri, 13 Feb 2026 17:14:40 -0800 Subject: [PATCH] Update ruff version Signed-off-by: Justin Chu --- pyproject.toml | 2 ++ requirements/lintrunner/requirements.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b24c4349c1..125b41aeee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -161,6 +161,8 @@ ignore = [ "RUF022", # We don't need to sort __all__ for elements to be grouped "RUF031", # Parentheses for tuple in subscripts is more readable "RUF052", # Variables with `_` prefix may not be dummy variables in all cases + "RUF067", # "__init__" can have implementation code and is not always just for imports + "RUF069", # Floating point comparison is ok in some cases "SIM102", # Collapible if statements are not always more readable "SIM108", # We don't always encourage ternary operators "SIM114", # Don't always combine if branches for debugability diff --git a/requirements/lintrunner/requirements.txt b/requirements/lintrunner/requirements.txt index fcbcf7bd27..0e132a6621 100644 --- a/requirements/lintrunner/requirements.txt +++ b/requirements/lintrunner/requirements.txt @@ -1,7 +1,7 @@ # This file is auto updated by dependabot lintrunner-adapters>=0.8.0 # RUFF, RUFF-FIX -ruff==0.14.10 +ruff==0.15.1 # MYPY mypy==1.10.1 types-PyYAML==6.0.12.20250915