File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ repos:
1919 - id : check-docstring-first
2020
2121 - repo : https://github.com/astral-sh/ruff-pre-commit
22- rev : v0.12.12
22+ rev : v0.14.9
2323 hooks :
24- - id : ruff
24+ - id : ruff-check
2525 - id : ruff-format
2626
2727 - repo : https://github.com/woodruffw/zizmor-pre-commit
28- rev : v1.12.1
28+ rev : v1.18.0
2929 hooks :
3030 - id : zizmor
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3+ import re
4+
35import pytest
46
57from poetry_plugin_bundle .bundlers .bundler import Bundler
@@ -23,7 +25,7 @@ def test_bundler_raises_an_error_for_incorrect_bundler_classes() -> None:
2325 manager = BundlerManager ()
2426
2527 with pytest .raises (
26- BundlerManagerError , match = 'The bundler class "mock" does not exist.'
28+ BundlerManagerError , match = re . escape ( 'The bundler class "mock" does not exist.' )
2729 ):
2830 manager .bundler ("mock" )
2931
@@ -43,6 +45,6 @@ def test_register_bundler_class_cannot_register_existing_bundler_classes() -> No
4345
4446 with pytest .raises (
4547 BundlerManagerError ,
46- match = 'A bundler class with the name "mock" already exists.' ,
48+ match = re . escape ( 'A bundler class with the name "mock" already exists.' ) ,
4749 ):
4850 manager .register_bundler_class (MockBundler )
You can’t perform that action at this time.
0 commit comments