Skip to content

Commit e6f79e1

Browse files
authored
Update ruff version (#2809)
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
1 parent d83d50b commit e6f79e1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ ignore = [
161161
"RUF022", # We don't need to sort __all__ for elements to be grouped
162162
"RUF031", # Parentheses for tuple in subscripts is more readable
163163
"RUF052", # Variables with `_` prefix may not be dummy variables in all cases
164+
"RUF067", # "__init__" can have implementation code and is not always just for imports
165+
"RUF069", # Floating point comparison is ok in some cases
164166
"SIM102", # Collapible if statements are not always more readable
165167
"SIM108", # We don't always encourage ternary operators
166168
"SIM114", # Don't always combine if branches for debugability

requirements/lintrunner/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is auto updated by dependabot
22
lintrunner-adapters>=0.8.0
33
# RUFF, RUFF-FIX
4-
ruff==0.14.10
4+
ruff==0.15.1
55
# MYPY
66
mypy==1.10.1
77
types-PyYAML==6.0.12.20250915

0 commit comments

Comments
 (0)