Skip to content

Commit

Permalink
Docs: mention task-tags option in two rules (#4644)
Browse files Browse the repository at this point in the history
  • Loading branch information
bersbersbers authored May 24, 2023
1 parent 09c50c3 commit 28a5e60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ruff/src/rules/eradicate/rules/commented_out_code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
3 changes: 3 additions & 0 deletions crates/ruff/src/rules/pycodestyle/rules/line_too_long.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 28a5e60

Please sign in to comment.