Update ruff to v0.0.235 (#86719)

This commit is contained in:
Franck Nijhof 2023-01-26 17:17:13 +01:00 committed by GitHub
parent 2bef69c6a7
commit eb5d63237c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View File

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

View File

@ -240,7 +240,17 @@ asyncio_mode = "auto"
[tool.ruff]
target-version = "py310"
exclude = []
select = [
"C", # complexity
"D", # docstrings
"E", # pycodestyle
"F", # pyflakes/autoflake
"T20", # flake8-print
"W", # pycodestyle
"UP", # pyupgrade
"PGH004", # Use specific rule codes when using noqa
]
ignore = [
"D202", # No blank lines allowed after function docstring
@ -257,16 +267,6 @@ ignore = [
"E731", # do not assign a lambda expression, use a def
"UP024", # Replace aliased errors with `OSError`
]
select = [
"C", # complexity
"D", # docstrings
"E", # pycodestyle
"F", # pyflakes/autoflake
"T20", # flake8-print
"W", # pycodestyle
"UP", # pyupgrade
"PGH004", # Use specific rule codes when using noqa
]
[tool.ruff.per-file-ignores]

View File

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