Merge "pre-commit: Bump versions"
This commit is contained in:
@@ -13,13 +13,13 @@ repos:
|
|||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
files: .*\.(yaml|yml)$
|
files: .*\.(yaml|yml)$
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.13.0
|
rev: v0.14.5
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-check
|
- id: ruff-check
|
||||||
args: ['--fix', '--unsafe-fixes']
|
args: ['--fix', '--unsafe-fixes']
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
- repo: https://opendev.org/openstack/hacking
|
- repo: https://opendev.org/openstack/hacking
|
||||||
rev: 7.0.0
|
rev: 8.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: hacking
|
- id: hacking
|
||||||
additional_dependencies: []
|
additional_dependencies: []
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ class TestWebobHeaders(testtools.TestCase):
|
|||||||
headers = wb_headers.EnvironHeaders(
|
headers = wb_headers.EnvironHeaders(
|
||||||
{
|
{
|
||||||
'HTTP_HEADER_ONE': 'alpha',
|
'HTTP_HEADER_ONE': 'alpha',
|
||||||
'HTTP_OPENSTACK_API_VERSION': 'network 5.9 ,compute 2.1,telemetry 7.8',
|
'HTTP_OPENSTACK_API_VERSION': 'network 5.9 ,compute 2.1,telemetry 7.8', # noqa: E501
|
||||||
'HTTP_HEADER_TWO': 'beta',
|
'HTTP_HEADER_TWO': 'beta',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ quote-style = "single"
|
|||||||
docstring-code-format = true
|
docstring-code-format = true
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[tool.ruff.lint]
|
||||||
select = ["E4", "E7", "E9", "F", "S", "UP"]
|
select = ["E4", "E5", "E7", "E9", "F", "S", "UP"]
|
||||||
ignore = [
|
ignore = [
|
||||||
# we only use asserts for type narrowing
|
# we only use asserts for type narrowing
|
||||||
"S101",
|
"S101",
|
||||||
|
|||||||
Reference in New Issue
Block a user