From 90cfcad5fbb803dae435e6f90cd01b263b202f34 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 7 Feb 2023 06:49:04 +0000
Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

updates:
- [github.com/golangci/golangci-lint: v1.50.1 → v1.51.1](https://github.com/golangci/golangci-lint/compare/v1.50.1...v1.51.1)
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)
---
 .pre-commit-config.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 904b044b81..e42e330a0d 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -38,7 +38,7 @@ repos:
         types: [go]
         pass_filenames: false
   - repo: https://github.com/golangci/golangci-lint
-    rev: v1.50.1
+    rev: v1.51.1
     hooks:
       - id: golangci-lint
         args: [--new-from-patch=/tmp/diff.patch]
@@ -51,7 +51,7 @@ repos:
     hooks:
       - id: isort
   - repo: https://github.com/psf/black
-    rev: 22.12.0
+    rev: 23.1.0
     hooks:
       - id: black
   - repo: https://github.com/python-jsonschema/check-jsonschema

From 9ff4f531f4bd0870abee33c950f961954cb22c99 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
 <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 7 Feb 2023 06:49:20 +0000
Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
---
 perf-tests/suite/test_ap_reload_perf.py     | 1 -
 tests/suite/test_ingress_mtls.py            | 1 -
 tests/suite/test_virtual_server_wildcard.py | 1 -
 3 files changed, 3 deletions(-)

diff --git a/perf-tests/suite/test_ap_reload_perf.py b/perf-tests/suite/test_ap_reload_perf.py
index 9168e1d521..88b2ec62db 100644
--- a/perf-tests/suite/test_ap_reload_perf.py
+++ b/perf-tests/suite/test_ap_reload_perf.py
@@ -62,7 +62,6 @@ def __init__(self, req_url):
 def enable_prometheus_port(
     cli_arguments, kube_apis, ingress_controller_prerequisites, crd_ingress_controller_with_ap
 ) -> None:
-
     namespace = ingress_controller_prerequisites.namespace
     port = V1ContainerPort(9113, None, None, "prometheus", "TCP")
     print("------------------------- Enable 9113 port in IC ----------------------------")
diff --git a/tests/suite/test_ingress_mtls.py b/tests/suite/test_ingress_mtls.py
index 6ebe7922c4..170af4ab57 100644
--- a/tests/suite/test_ingress_mtls.py
+++ b/tests/suite/test_ingress_mtls.py
@@ -47,7 +47,6 @@ def setup_policy(kube_apis, test_namespace, mtls_secret, tls_secret, policy):
 
 
 def teardown_policy(kube_apis, test_namespace, tls_secret, pol_name, mtls_secret):
-
     print("Delete policy and related secrets")
     delete_secret(kube_apis.v1, tls_secret, test_namespace)
     delete_policy(kube_apis.custom_objects, pol_name, test_namespace)
diff --git a/tests/suite/test_virtual_server_wildcard.py b/tests/suite/test_virtual_server_wildcard.py
index 98c763f3f6..e8a9c2e91f 100644
--- a/tests/suite/test_virtual_server_wildcard.py
+++ b/tests/suite/test_virtual_server_wildcard.py
@@ -21,7 +21,6 @@
 )
 class TestVirtualServerWildcard:
     def test_vs_status(self, kube_apis, crd_ingress_controller, virtual_server_setup):
-
         wait_and_assert_status_code(200, virtual_server_setup.backend_1_url, virtual_server_setup.vs_host)
         wait_and_assert_status_code(200, virtual_server_setup.backend_2_url, virtual_server_setup.vs_host)
         wait_and_assert_status_code(404, virtual_server_setup.backend_1_url, "test.example.com")