Skip to content

Commit

Permalink
Add external option to unused-noqa documentation (#8171)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb authored Oct 24, 2023
1 parent 80473c3 commit 2d0769e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/ruff_linter/src/rules/ruff/rules/unused_noqa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ pub struct UnusedCodes {
/// foo.bar()
/// ```
///
/// ## Options
/// - `external`
///
/// ## References
/// - [Ruff error suppression](https://docs.astral.sh/ruff/linter/#error-suppression)
#[violation]
Expand Down

0 comments on commit 2d0769e

Please sign in to comment.