mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 21:05:08 +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
|
/// ## 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…
Add table
Add a link
Reference in a new issue