mirror of https://github.com/astral-sh/ruff
Fix S310 `suspicious-url-open-usage` description (#10917)
## Summary The "What it does" section of the docstring is missing a verb, this PR adds it.
This commit is contained in:
parent
85ca5b7eed
commit
b356c4376c
|
|
@ -344,7 +344,7 @@ impl Violation for SuspiciousMarkSafeUsage {
|
|||
}
|
||||
|
||||
/// ## What it does
|
||||
/// Checks for uses of URL open functions that unexpected schemes.
|
||||
/// Checks for instances where URL open functions are used with unexpected schemes.
|
||||
///
|
||||
/// ## Why is this bad?
|
||||
/// Some URL open functions allow the use of `file:` or custom schemes (for use
|
||||
|
|
|
|||
Loading…
Reference in New Issue