diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 78e94f5..031702d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.1.0 hooks: - id: check-added-large-files args: ['--maxkb=100'] @@ -22,12 +22,12 @@ repos: - id: rst-inline-touching-normal - id: text-unicode-replacement-char - repo: https://github.com/asottile/pyupgrade - rev: v2.29.1 + rev: v2.31.0 hooks: - id: pyupgrade args: [--py36-plus] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.6.0 + rev: v2.7.1 hooks: - id: reorder-python-imports - repo: https://github.com/asottile/setup-cfg-fmt @@ -35,11 +35,11 @@ repos: hooks: - id: setup-cfg-fmt - repo: https://github.com/psf/black - rev: 21.11b1 + rev: 22.1.0 hooks: - id: black - repo: https://github.com/asottile/blacken-docs - rev: v1.12.0 + rev: v1.12.1 hooks: - id: blacken-docs additional_dependencies: [black] diff --git a/tests/test_parametrize.py b/tests/test_parametrize.py index a6818f0..5bf1091 100644 --- a/tests/test_parametrize.py +++ b/tests/test_parametrize.py @@ -50,7 +50,7 @@ def task_compile_latex_document(): ("document_1.tex", "Like a worn out recording"), ("document_2.tex", "Of a favorite song"), ]: - latex_source = fr""" + latex_source = rf""" \documentclass{{report}} \begin{{document}} {content}