From 53c7405c8319d7da91a1db02d84e64fa42d15fbb Mon Sep 17 00:00:00 2001 From: "Brutus (robot)" Date: Sun, 9 Feb 2025 20:21:44 +0000 Subject: [PATCH 1/2] Bump black-pre-commit-mirror from 24.10.0 to 25.1.0 --- .pre-commit-config.yaml | 2 +- tests/test_declaration.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78e0831b..be431875 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 diff --git a/tests/test_declaration.py b/tests/test_declaration.py index 9bfbbb3f..2368c0b4 100644 --- a/tests/test_declaration.py +++ b/tests/test_declaration.py @@ -1044,7 +1044,7 @@ def test_quotes_invalid_1_item(self): node.style.quotes = [">"] with self.assertRaises(ValueError): - node.style.quotes = [(">")] + node.style.quotes = [">"] ############################################################################## # Outline shorthand From fbb2ac52f93836bcbddd6e7356cb45bc84d268b1 Mon Sep 17 00:00:00 2001 From: "Brutus (robot)" Date: Sun, 9 Feb 2025 20:21:47 +0000 Subject: [PATCH 2/2] Add changenote. --- changes/103.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/103.misc.rst diff --git a/changes/103.misc.rst b/changes/103.misc.rst new file mode 100644 index 00000000..bd8bb5d7 --- /dev/null +++ b/changes/103.misc.rst @@ -0,0 +1 @@ +The ``pre-commit`` hook for ``black-pre-commit-mirror`` was updated to its latest version.