Update Ruff to 0.0.231, enable D401 (#86520)

This commit is contained in:
Aarni Koskela 2023-01-24 14:57:08 +02:00 committed by GitHub
parent 8d678209db
commit 65ad953497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit - repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.230 rev: v0.0.231
hooks: hooks:
- id: ruff - id: ruff
args: args:

View File

@ -247,7 +247,6 @@ ignore = [
"D203", # 1 blank line required before class docstring "D203", # 1 blank line required before class docstring
"D212", # Multi-line docstring summary should start at the first line "D212", # Multi-line docstring summary should start at the first line
"D213", # Multi-line docstring summary should start at the second 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 "D404", # First word of the docstring should not be This
"D406", # Section name should end with a newline "D406", # Section name should end with a newline
"D407", # Section name underlining "D407", # Section name underlining

View File

@ -14,5 +14,5 @@ pycodestyle==2.10.0
pydocstyle==6.2.3 pydocstyle==6.2.3
pyflakes==3.0.1 pyflakes==3.0.1
pyupgrade==3.3.1 pyupgrade==3.3.1
ruff==0.0.230 ruff==0.0.231
yamllint==1.28.0 yamllint==1.28.0