mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Update Ruff to 0.0.231, enable D401 (#86520)
This commit is contained in:
parent
8d678209db
commit
65ad953497
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user