Add `external` option to `unused-noqa` documentation (#8171)

This commit is contained in:
Zanie Blue 2023-10-24 12:38:42 -05:00 committed by GitHub
parent 80473c3f5c
commit 2d0769e324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ pub struct UnusedCodes {
/// foo.bar() /// foo.bar()
/// ``` /// ```
/// ///
/// ## Options
/// - `external`
///
/// ## References /// ## References
/// - [Ruff error suppression](https://docs.astral.sh/ruff/linter/#error-suppression) /// - [Ruff error suppression](https://docs.astral.sh/ruff/linter/#error-suppression)
#[violation] #[violation]