Docs: mention task-tags option in two rules (#4644)

This commit is contained in:
bersbersbers 2023-05-24 22:31:41 +02:00 committed by GitHub
parent 09c50c311c
commit 28a5e607b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,9 @@ use super::super::detection::comment_contains_code;
/// Commented-out code is dead code, and is often included inadvertently. /// Commented-out code is dead code, and is often included inadvertently.
/// It should be removed. /// It should be removed.
/// ///
/// ## Options
/// - `task-tags`
///
/// ## Example /// ## Example
/// ```python /// ```python
/// # print('foo') /// # print('foo')

View file

@ -11,6 +11,9 @@ use crate::settings::Settings;
/// ## Why is this bad? /// ## Why is this bad?
/// Overlong lines can hurt readability. /// Overlong lines can hurt readability.
/// ///
/// ## Options
/// - `task-tags`
///
/// ## Example /// ## Example
/// ```python /// ```python
/// my_function(param1, param2, param3, param4, param5, param6, param7, param8, param9, param10) /// my_function(param1, param2, param3, param4, param5, param6, param7, param8, param9, param10)