Skip to content

Commit 0ced8d0

Browse files
[flake8-copyright] Add links to applicable options (CPY001) (#16421)
1 parent a8e171f commit 0ced8d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

crates/ruff_linter/src/rules/flake8_copyright/rules/missing_copyright_notice.rs

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ use crate::Locator;
1313
/// ## Why is this bad?
1414
/// In some codebases, it's common to have a license header at the top of every
1515
/// file. This rule ensures that the license header is present.
16+
///
17+
/// ## Options
18+
/// - `lint.flake8-copyright.author`
19+
/// - `lint.flake8-copyright.min-file-size`
20+
/// - `lint.flake8-copyright.notice-rgx`
1621
#[derive(ViolationMetadata)]
1722
pub(crate) struct MissingCopyrightNotice;
1823

0 commit comments

Comments
 (0)