mirror of https://github.com/astral-sh/ruff
[`flake8-copyright`] Add links to applicable options (`CPY001`) (#16421)
This commit is contained in:
parent
a8e171f82c
commit
0ced8d053c
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue