mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Fix preview link references in 2 rule docs (#14060)
This commit is contained in:
parent
bc7615af0e
commit
be485602de
2 changed files with 1 additions and 2 deletions
|
@ -37,8 +37,6 @@ use crate::checkers::ast::Checker;
|
|||
///
|
||||
/// ## References
|
||||
/// - [Python documentation: Mapping Types](https://docs.python.org/3/library/stdtypes.html#mapping-types-dict)
|
||||
///
|
||||
/// [preview]: https://docs.astral.sh/ruff/preview/
|
||||
#[violation]
|
||||
pub struct InDictKeys {
|
||||
operator: String,
|
||||
|
|
|
@ -33,6 +33,7 @@ use crate::rules::pycodestyle::helpers::is_ambiguous_name;
|
|||
/// of stubs: a well-written stub should aim to faithfully represent the
|
||||
/// interface of the equivalent .py file as it exists at runtime, including any
|
||||
/// ambiguously named variables in the runtime module.
|
||||
/// [preview]: https://docs.astral.sh/ruff/preview/
|
||||
|
||||
#[violation]
|
||||
pub struct AmbiguousVariableName(pub String);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue