mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:55:05 +00:00
Docs: mention task-tags
option in two rules (#4644)
This commit is contained in:
parent
09c50c311c
commit
28a5e607b4
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue