Update Ruff to 0.0.231, enable D401 (#86520)
parent
8d678209db
commit
65ad953497
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||
rev: v0.0.230
|
||||
rev: v0.0.231
|
||||
hooks:
|
||||
- id: ruff
|
||||
args:
|
||||
|
|
|
@ -247,7 +247,6 @@ ignore = [
|
|||
"D203", # 1 blank line required before class docstring
|
||||
"D212", # Multi-line docstring summary should start at the first line
|
||||
"D213", # Multi-line docstring summary should start at the second line
|
||||
"D401", # TODO: Enable when https://github.com/charliermarsh/ruff/pull/2071 is released
|
||||
"D404", # First word of the docstring should not be This
|
||||
"D406", # Section name should end with a newline
|
||||
"D407", # Section name underlining
|
||||
|
|
|
@ -14,5 +14,5 @@ pycodestyle==2.10.0
|
|||
pydocstyle==6.2.3
|
||||
pyflakes==3.0.1
|
||||
pyupgrade==3.3.1
|
||||
ruff==0.0.230
|
||||
ruff==0.0.231
|
||||
yamllint==1.28.0
|
||||
|
|
Loading…
Reference in New Issue