mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-07 21:25:08 +00:00
![]() ## Summary Follow-up to #16035. `check_docs_formatted.py` will now report backtick-quoted shortcut links in rule documentation. It uses a regular expression to find them. Such a link: * Starts with `[`, followed by <code>\`</code>, then a "name" sequence of at least one non-backtick non-newline character, followed by another <code>\`</code>, then ends with `]`. * Is not followed by either a `[` or a `(`. * Is not placed within a code block. If the name is a known Ruff option name, that link is not considered a violation. ## Test Plan Manual. |
||
---|---|---|
.. | ||
benchmarks | ||
knot_benchmark | ||
release | ||
_utils.py | ||
add_plugin.py | ||
add_rule.py | ||
check_docs_formatted.py | ||
check_ecosystem.py | ||
Dockerfile.ecosystem | ||
ecosystem_all_check.py | ||
ecosystem_all_check.sh | ||
ecosystem_all_check_entrypoint.sh | ||
formatter_ecosystem_checks.sh | ||
generate_builtin_modules.py | ||
generate_known_standard_library.py | ||
generate_mkdocs.py | ||
pyproject.toml | ||
release.sh | ||
transform_readme.py | ||
update_ambiguous_characters.py | ||
update_schemastore.py |