Skip to content

E265: does not raise for #: comment #947

Closed

Description

@jugmac00
#: does not raise E265

a = print  #: neither raises E265

Flake8 version 3.15.1

pycodestyle --version
2.6.0

Activity

  1. asottile commented on Jun 30, 2020

    @asottile
    Member

    this is intentional, #: comments are used for sphinx documentation

    bad_prefix = symbol not in '#:' and (symbol.lstrip('#')[:1] or '#')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions