mirror of https://github.com/astral-sh/ruff
Docs: mention `task-tags` option in two rules (#4644)
This commit is contained in:
parent
09c50c311c
commit
28a5e607b4
|
|
@ -14,6 +14,9 @@ use super::super::detection::comment_contains_code;
|
|||
/// Commented-out code is dead code, and is often included inadvertently.
|
||||
/// It should be removed.
|
||||
///
|
||||
/// ## Options
|
||||
/// - `task-tags`
|
||||
///
|
||||
/// ## Example
|
||||
/// ```python
|
||||
/// # print('foo')
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@ use crate::settings::Settings;
|
|||
/// ## Why is this bad?
|
||||
/// Overlong lines can hurt readability.
|
||||
///
|
||||
/// ## Options
|
||||
/// - `task-tags`
|
||||
///
|
||||
/// ## Example
|
||||
/// ```python
|
||||
/// my_function(param1, param2, param3, param4, param5, param6, param7, param8, param9, param10)
|
||||
|
|
|
|||
Loading…
Reference in New Issue