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