Skip to content

Optionally don't enforce checker on __init__.py #10

@arclabs561

Description

@arclabs561

__init__.py shouldn't be considered code, or at least it should be considered differently.

It doesn't make sense to enforce print_function, division on a file that only contains imports, a docstring, and perhaps __all__.

Perhaps a better option would be, don't enforce for an __init__.py file only having some subset of {imports, docstrings, comments, all = ...}?

Another option would be to have a separate --select or --ignore for __init__.py files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions