ruff/crates/ruff_macros/src
Ryan Yang ab3c02342b
Implement copyright notice detection (#4701)
## Summary

Add copyright notice detection to enforce the presence of copyright
headers in Python files.

Configurable settings include: the relevant regular expression, the
author name, and the minimum file size, similar to
[flake8-copyright](https://github.com/savoirfairelinux/flake8-copyright).

Closes https://github.com/charliermarsh/ruff/issues/3579

---------

Signed-off-by: ryan <ryang@waabi.ai>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-06-11 02:17:58 +00:00
..
cache_key.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
combine_options.rs Merge subsettings when extending configurations (#4431) 2023-05-15 02:34:58 +00:00
config.rs Add a ruff_textwrap crate (#4731) 2023-05-31 16:35:23 +00:00
derive_message_formats.rs Remove unnecessary path prefixes (#4492) 2023-05-18 10:19:09 -04:00
lib.rs Merge registry into codes (#4651) 2023-06-02 10:33:01 +00:00
map_codes.rs Update links to point to Astral org (#4949) 2023-06-08 11:43:40 -04:00
newtype_index.rs Introduce ruff_index crate (#4597) 2023-05-23 17:40:35 +02:00
rule_code_prefix.rs Enable pycodestyle rules under new "nursery" category (#4407) 2023-05-16 21:21:58 +00:00
rule_namespace.rs Implement copyright notice detection (#4701) 2023-06-11 02:17:58 +00:00
violation.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00