Skip to content

Commit 86c51f3

Browse files
committed
Bump Ruff to 0.5.0
1 parent 21f7006 commit 86c51f3

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.ruff.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ select = [
222222
# "PLR0912", # Too many branches ({branches} > {max_branches})
223223
# "PLR0913", # Too many arguments to function call ({c_args} > {max_args})
224224
# "PLR0915", # Too many statements ({statements} > {max_statements})
225-
"PLR1701", # Merge `isinstance` calls: `{expr}`
226225
"PLR1711", # Useless `return` statement at end of function
227226
# "PLR1714", # Consider merging multiple comparisons: `{expr}`. Use a `set` if the elements are hashable.
228227
"PLR1722", # Use `sys.exit()` instead of `{name}`

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ docs = [
8383
]
8484
lint = [
8585
"flake8>=3.5.0",
86-
"ruff==0.4.10",
86+
"ruff==0.5.0",
8787
"mypy==1.10.1",
8888
"sphinx-lint",
8989
"types-docutils",

tests/test_intl/test_intl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ def test_additional_targets_should_be_translated(app):
14501450
"""<span class="c1"># SYS IMPORTING</span>""")
14511451
assert_count(expected_expr, result, 1)
14521452

1453-
# '#noqa' should remain in literal blocks.
1453+
# 'noqa' comments should remain in literal blocks.
14541454
assert_count("#noqa", result, 1)
14551455

14561456
# [raw.txt]

0 commit comments

Comments
 (0)