Add linting check for RST code blocks.

This commit is contained in:
Felix Fontein
2025-06-18 21:48:39 +02:00
parent 087aa70fe9
commit 7a4d73af2e

View File

@@ -32,6 +32,14 @@ mypy_extra_deps = [
[sessions.docs_check]
validate_collection_refs="all"
codeblocks_restrict_types = [
"ansible-output",
"yaml",
"yaml+jinja",
]
codeblocks_restrict_type_exact_case = true
codeblocks_allow_without_type = false
codeblocks_allow_literal_blocks = false
[sessions.license_check]
run_reuse = true