mirror of https://github.com/astral-sh/ruff
[`flake8-annotations`] Add link to `allow-star-arg-any` option (`ANN401`) (#21326)
Summary -- Addresses https://github.com/astral-sh/ruff/issues/19152#issuecomment-3501373508 by adding a link to the configuration option to the rule page. Test Plan -- Built the docs locally and made sure the link was present and working
This commit is contained in:
parent
b6add3ee6d
commit
e06e108095
|
|
@ -513,6 +513,9 @@ impl Violation for MissingReturnTypeClassMethod {
|
||||||
/// def foo(x: MyAny): ...
|
/// def foo(x: MyAny): ...
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
/// ## Options
|
||||||
|
/// - `lint.flake8-annotations.allow-star-arg-any`
|
||||||
|
///
|
||||||
/// ## References
|
/// ## References
|
||||||
/// - [Typing spec: `Any`](https://typing.python.org/en/latest/spec/special-types.html#any)
|
/// - [Typing spec: `Any`](https://typing.python.org/en/latest/spec/special-types.html#any)
|
||||||
/// - [Python documentation: `typing.Any`](https://docs.python.org/3/library/typing.html#typing.Any)
|
/// - [Python documentation: `typing.Any`](https://docs.python.org/3/library/typing.html#typing.Any)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue