Skip to content

Commit cc5bd3f

Browse files
pre-commit-ci[bot]web-flow
authored andcommitted
[pre-commit.ci] pre-commit autoupdate (#7261)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/PyCQA/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0) - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.31.0 → 0.31.1](python-jsonschema/check-jsonschema@0.31.0...0.31.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 154e8c4 commit cc5bd3f

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ repos:
5656
- id: pyupgrade
5757

5858
- repo: https://github.com/PyCQA/isort
59-
rev: 5.13.2
59+
rev: 6.0.0
6060
hooks:
6161
- id: isort
6262

6363
- repo: https://github.com/psf/black
64-
rev: 24.10.0
64+
rev: 25.1.0
6565
hooks:
6666
- id: black
6767

@@ -78,7 +78,7 @@ repos:
7878
]
7979

8080
- repo: https://github.com/python-jsonschema/check-jsonschema
81-
rev: 0.31.0
81+
rev: 0.31.1
8282
hooks:
8383
- id: check-jsonschema
8484
name: "Check Helm Chart JSON Schema"

tests/suite/test_annotations.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -451,14 +451,12 @@ def test_upstream_zone_size_0(
451451
@pytest.mark.parametrize(
452452
"annotations",
453453
[
454-
(
455-
{
456-
"nginx.org/proxy-send-timeout": "invalid",
457-
"nginx.org/max-conns": "-10",
458-
"nginx.org/upstream-zone-size": "-10I'm S±!@£$%^&*()invalid",
459-
"nginx.org/proxy-set-headers": "abc!123",
460-
}
461-
)
454+
{
455+
"nginx.org/proxy-send-timeout": "invalid",
456+
"nginx.org/max-conns": "-10",
457+
"nginx.org/upstream-zone-size": "-10I'm S±!@£$%^&*()invalid",
458+
"nginx.org/proxy-set-headers": "abc!123",
459+
}
462460
],
463461
)
464462
def test_validation(self, kube_apis, annotations_setup, ingress_controller_prerequisites, annotations):

tests/suite/test_rewrites.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def fin():
9797
]
9898

9999

100-
@pytest.mark.parametrize("crd_ingress_controller", [({"type": "complete"})], indirect=True)
100+
@pytest.mark.parametrize("crd_ingress_controller", [{"type": "complete"}], indirect=True)
101101
class TestRewrites:
102102
@pytest.mark.vs
103103
@pytest.mark.vs_rewrite

0 commit comments

Comments
 (0)