mirror of https://github.com/astral-sh/ruff
Improve N803 example (#8714)
This commit is contained in:
parent
2424188bb2
commit
5fa961f670
|
|
@ -24,13 +24,13 @@ use crate::settings::types::IdentifierPattern;
|
||||||
///
|
///
|
||||||
/// ## Example
|
/// ## Example
|
||||||
/// ```python
|
/// ```python
|
||||||
/// def MY_FUNCTION():
|
/// def my_function(A, myArg):
|
||||||
/// pass
|
/// pass
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```python
|
/// ```python
|
||||||
/// def my_function():
|
/// def my_function(a, my_arg):
|
||||||
/// pass
|
/// pass
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue