From bf7307f99bf5ed21d082c291f66df767cd09af74 Mon Sep 17 00:00:00 2001 From: Konstantin Althaus Date: Tue, 27 Feb 2024 09:33:39 +0100 Subject: [PATCH] fix (cicd): roll back pre-commit hook versions - roll back necessary due to https://github.com/psf/black/issues/4175 --- .pre-commit-config.yaml | 6 +++--- src/unit_tests/document_test.py | 1 - src/unit_tests/test_run_test.py | 1 - src/unit_tests/work_item_test.py | 1 - 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c4e0ad4..8a054d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,17 +2,17 @@ exclude: '^docs' repos: - repo: https://github.com/asottile/reorder_python_imports - rev: v3.12.0 + rev: v3.9.0 hooks: - id: reorder-python-imports - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: debug-statements - id: detect-private-key - repo: https://github.com/psf/black - rev: 24.2.0 + rev: 23.3.0 hooks: - id: black diff --git a/src/unit_tests/document_test.py b/src/unit_tests/document_test.py index 2dc5618..ab9a5aa 100644 --- a/src/unit_tests/document_test.py +++ b/src/unit_tests/document_test.py @@ -3,7 +3,6 @@ @author: szacks """ - import datetime import os import unittest diff --git a/src/unit_tests/test_run_test.py b/src/unit_tests/test_run_test.py index 33096c1..8c46f05 100644 --- a/src/unit_tests/test_run_test.py +++ b/src/unit_tests/test_run_test.py @@ -3,7 +3,6 @@ @author: szacks """ - import datetime import os import unittest diff --git a/src/unit_tests/work_item_test.py b/src/unit_tests/work_item_test.py index a4ff7ff..968c3cf 100644 --- a/src/unit_tests/work_item_test.py +++ b/src/unit_tests/work_item_test.py @@ -3,7 +3,6 @@ @author: szacks """ - import os import unittest