From 1234983c9ab0985e634de3d6ae82259454f2c011 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 23 Nov 2025 01:09:44 +0200 Subject: [PATCH] pre-commit: fix rst-lint after new release https://github.com/twolfson/restructuredtext-lint?tab=readme-ov-file#breaking-changes-in-200 --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b04f98c40d0..9dd76c9f816 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,10 +94,10 @@ repos: stages: [manual] - id: rst name: rst - entry: rst-lint --encoding utf-8 + entry: rst-lint files: ^(RELEASING.rst|README.rst|TIDELIFT.rst)$ language: python - additional_dependencies: [pygments, restructuredtext_lint] + additional_dependencies: [pygments, restructuredtext_lint>=2.0.0] - id: changelogs-rst name: changelog filenames language: fail