[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

View File

@@ -13,6 +13,11 @@ use crate::Locator;
/// ## Why is this bad?
/// 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.
///
/// ## Options
/// - `lint.flake8-copyright.author`
/// - `lint.flake8-copyright.min-file-size`
/// - `lint.flake8-copyright.notice-rgx`
#[derive(ViolationMetadata)]
pub(crate) struct MissingCopyrightNotice;