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
|
||||
/// ```python
|
||||
/// def MY_FUNCTION():
|
||||
/// def my_function(A, myArg):
|
||||
/// pass
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
/// ```python
|
||||
/// def my_function():
|
||||
/// def my_function(a, my_arg):
|
||||
/// pass
|
||||
/// ```
|
||||
///
|
||||
|
|
|
|||
Loading…
Reference in New Issue