Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flake8-copyright support #3579

Closed
Ryang20718 opened this issue Mar 17, 2023 · 2 comments · Fixed by #4701
Closed

Add flake8-copyright support #3579

Ryang20718 opened this issue Mar 17, 2023 · 2 comments · Fixed by #4701
Labels
plugin Implementing a known but unsupported plugin

Comments

@Ryang20718
Copy link
Contributor

Hi, would it be possible to add flake8-copyright to ruff please?

@charliermarsh charliermarsh added the plugin Implementing a known but unsupported plugin label Mar 17, 2023
@akx
Copy link
Contributor

akx commented Mar 28, 2023

I wonder if this should be a more generic "require a header comment" rule?

@Paul-AUB
Copy link

Would be great !

Some additional information :

charliermarsh added a commit that referenced this issue Jun 11, 2023
## 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 #3579

---------

Signed-off-by: ryan <ryang@waabi.ai>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
konstin pushed a commit that referenced this issue Jun 13, 2023
## 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 #3579

---------

Signed-off-by: ryan <ryang@waabi.ai>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin Implementing a known but unsupported plugin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants