mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Improve N803 example (#8714)
This commit is contained in:
parent
2424188bb2
commit
5fa961f670
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue