Docs: mention task-tags option in two rules (#4644)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user