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

View file

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