[`flake8-copyright`] Add links to applicable options (`CPY001`) (#16421)

This commit is contained in:
InSync 2025-02-28 15:11:14 +07:00 committed by GitHub
parent a8e171f82c
commit 0ced8d053c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ use crate::Locator;
/// ## Why is this bad? /// ## Why is this bad?
/// In some codebases, it's common to have a license header at the top of every /// In some codebases, it's common to have a license header at the top of every
/// file. This rule ensures that the license header is present. /// file. This rule ensures that the license header is present.
///
/// ## Options
/// - `lint.flake8-copyright.author`
/// - `lint.flake8-copyright.min-file-size`
/// - `lint.flake8-copyright.notice-rgx`
#[derive(ViolationMetadata)] #[derive(ViolationMetadata)]
pub(crate) struct MissingCopyrightNotice; pub(crate) struct MissingCopyrightNotice;