Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb5d632

Browse files
authored
Update ruff to v0.0.235 (home-assistant#86719)
1 parent 2bef69c commit eb5d632

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/charliermarsh/ruff-pre-commit
3-
rev: v0.0.231
3+
rev: v0.0.235
44
hooks:
55
- id: ruff
66
args:

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,17 @@ asyncio_mode = "auto"
240240

241241
[tool.ruff]
242242
target-version = "py310"
243-
exclude = []
243+
244+
select = [
245+
"C", # complexity
246+
"D", # docstrings
247+
"E", # pycodestyle
248+
"F", # pyflakes/autoflake
249+
"T20", # flake8-print
250+
"W", # pycodestyle
251+
"UP", # pyupgrade
252+
"PGH004", # Use specific rule codes when using noqa
253+
]
244254

245255
ignore = [
246256
"D202", # No blank lines allowed after function docstring
@@ -257,16 +267,6 @@ ignore = [
257267
"E731", # do not assign a lambda expression, use a def
258268
"UP024", # Replace aliased errors with `OSError`
259269
]
260-
select = [
261-
"C", # complexity
262-
"D", # docstrings
263-
"E", # pycodestyle
264-
"F", # pyflakes/autoflake
265-
"T20", # flake8-print
266-
"W", # pycodestyle
267-
"UP", # pyupgrade
268-
"PGH004", # Use specific rule codes when using noqa
269-
]
270270

271271
[tool.ruff.per-file-ignores]
272272

requirements_test_pre_commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ pycodestyle==2.10.0
1414
pydocstyle==6.2.3
1515
pyflakes==3.0.1
1616
pyupgrade==3.3.1
17-
ruff==0.0.231
17+
ruff==0.0.235
1818
yamllint==1.28.0

0 commit comments

Comments
 (0)