From 0d89ac32e05bbb11ebae6149842b5ce4d46ebcca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 19:44:48 +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/Mateusz-Grzelinski/actionlint-py: v1.7.4.20 → v1.7.7.23](https://github.com/Mateusz-Grzelinski/actionlint-py/compare/v1.7.4.20...v1.7.7.23) - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.9.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.2...v0.9.2) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e9f8d8f..2cac57b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,7 @@ repos: args: ["-x"] # Check external files - repo: https://github.com/Mateusz-Grzelinski/actionlint-py - rev: v1.7.4.20 + rev: v1.7.7.23 hooks: - id: actionlint @@ -78,7 +78,7 @@ repos: ignore-from-file: [.gitignore],}"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.2 + rev: v0.9.2 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --config=pyproject.toml] @@ -94,7 +94,7 @@ repos: then /bin/mkdir .mypy_cache; fi; exit 0' - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.13.0" + rev: "v1.14.1" hooks: - id: mypy verbose: true From 5be275a75a5103210a0a94d5347ceed22f288d09 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 19:49:24 +0000 Subject: [PATCH 2/2] Chore: pre-commit autoupdate --- .../kpi_detection/test_inference_kpi_detection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/osc_transformer_based_extractor/kpi_detection/test_inference_kpi_detection.py b/tests/osc_transformer_based_extractor/kpi_detection/test_inference_kpi_detection.py index 7d4efa9..259bc46 100644 --- a/tests/osc_transformer_based_extractor/kpi_detection/test_inference_kpi_detection.py +++ b/tests/osc_transformer_based_extractor/kpi_detection/test_inference_kpi_detection.py @@ -111,6 +111,6 @@ def test_run_full_inference_kpi_detection( # Mocked `to_excel` should be called once with the expected data and output file path mock_to_excel.assert_called_once() pd.testing.assert_frame_equal(mock_to_excel.call_args[0][0], expected_output_data) - assert ( - mock_to_excel.call_args[0][1] == output_file - ), "Output file path is incorrect." + assert mock_to_excel.call_args[0][1] == output_file, ( + "Output file path is incorrect." + )