ruff/crates
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
..
flake8_to_ruff Update links to point to Astral org (#4949) 2023-06-08 11:43:40 -04:00
ruff Implement copyright notice detection (#4701) 2023-06-11 02:17:58 +00:00
ruff_benchmark Add Formatter benchmark (#4860) 2023-06-05 21:05:42 +02:00
ruff_cache
ruff_cli Update links to point to Astral org (#4949) 2023-06-08 11:43:40 -04:00
ruff_dev
ruff_diagnostics
ruff_formatter
ruff_index
ruff_macros Implement copyright notice detection (#4701) 2023-06-11 02:17:58 +00:00
ruff_python_ast Use Stmt::parse in lieu of Suite unwraps (#5002) 2023-06-10 04:55:31 +00:00
ruff_python_formatter Introduce PythonWhitespace to confine trim operations to Python whitespace (#4994) 2023-06-09 21:44:50 -04:00
ruff_python_semantic Rename some methods on SemanticModel (#4990) 2023-06-09 19:36:59 +00:00
ruff_python_stdlib
ruff_python_whitespace Introduce PythonWhitespace to confine trim operations to Python whitespace (#4994) 2023-06-09 21:44:50 -04:00
ruff_rustpython
ruff_testing_macros
ruff_textwrap Use Python whitespace utilities in ruff_textwrap (#4996) 2023-06-10 02:32:42 +00:00
ruff_wasm Implement copyright notice detection (#4701) 2023-06-11 02:17:58 +00:00