Skip to content

Allow CPY001 (missing-copyright-notice) to ignore empty files #16420

@benblank

Description

@benblank

Summary

In particular, empty __init__.py files are common enough and it's weird to copyright an otherwise-empty file or the copyright notice itself. 🙂

I've no strong opinion on whether this should be configurable or just the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionAsking for support or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions