Skip to content

Comments

[flake8-bandit] Fix broken link (S704)#22039

Merged
ntBre merged 1 commit intomainfrom
brent/s704-link
Dec 17, 2025
Merged

[flake8-bandit] Fix broken link (S704)#22039
ntBre merged 1 commit intomainfrom
brent/s704-link

Conversation

@ntBre
Copy link
Contributor

@ntBre ntBre commented Dec 17, 2025

Summary

While going through all the rules I noticed a broken link in the S704 docs. (I then got really confused because it appeared to be correct in the other unsafe_markup_use.rs file for the removed RUF version of the rule).

Test Plan

Before:

image

After:

image

I also did at least a cursory grep for other cases with escaped link brackets (\[) and only turned up this rule on main.

Summary
--

While going through all the rules I noticed a broken link in the S704 docs. (I
then got really confused because it appeared to be correct in the _other_
`unsafe_markup_use.rs` file for the removed RUF version of the rule).

Test Plan
--

[Before](https://docs.astral.sh/ruff/rules/unsafe-markup-use/):

After:
@ntBre ntBre added the documentation Improvements or additions to documentation label Dec 17, 2025
@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 17, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre merged commit 0290f5d into main Dec 17, 2025
38 checks passed
@ntBre ntBre deleted the brent/s704-link branch December 17, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant