File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff 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}`
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ docs = [
8383]
8484lint = [
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" ,
Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments