From a3bde46ad36e3ee595e1f9b6c9efc4e978af2d0a Mon Sep 17 00:00:00 2001 From: parth-gr Date: Mon, 3 Mar 2025 18:34:27 +0530 Subject: [PATCH] ci: update the python black package in the ci lint file, we use a dependency from a 3rd party lint, which updates the black package, The underlined python script file was not updated to the latest formatting, so re-format the file and update the 3rd party dependency version Signed-off-by: parth-gr --- .github/workflows/linters.yaml | 2 +- deploy/examples/create-external-cluster-resources-tests.py | 2 +- deploy/examples/create-external-cluster-resources.py | 2 +- tests/scripts/pythonwebserver/server.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index db72d3c18..970163609 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -61,4 +61,4 @@ jobs: run: make pylint - name: Setup black for py - uses: psf/black@1b2427a2b785cc4aac97c19bb4b9a0de063f9547 # stable + uses: psf/black@8a737e727ac5ab2f1d4cf5876720ed276dc8dc4b # stable diff --git a/deploy/examples/create-external-cluster-resources-tests.py b/deploy/examples/create-external-cluster-resources-tests.py index b3a5196c7..8c1feecf9 100644 --- a/deploy/examples/create-external-cluster-resources-tests.py +++ b/deploy/examples/create-external-cluster-resources-tests.py @@ -3,7 +3,7 @@ Copyright 2022 The Rook Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. diff --git a/deploy/examples/create-external-cluster-resources.py b/deploy/examples/create-external-cluster-resources.py index 38a567d8d..a2f84eb50 100644 --- a/deploy/examples/create-external-cluster-resources.py +++ b/deploy/examples/create-external-cluster-resources.py @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/tests/scripts/pythonwebserver/server.py b/tests/scripts/pythonwebserver/server.py index eb2c841b0..6f0960310 100644 --- a/tests/scripts/pythonwebserver/server.py +++ b/tests/scripts/pythonwebserver/server.py @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,