Skip to content

E261: ignores tab/space mix #582

@spaceone

Description

@spaceone
Contributor
printf 'foo = "bar" \t# comment\n' | pep8 -

I expected the following output but got nothing:

stdin:1:12: E261 at least two spaces before inline comment

Activity

spaceone

spaceone commented on Oct 26, 2016

@spaceone
ContributorAuthor
IanLee1521

IanLee1521 commented on Oct 29, 2016

@IanLee1521
Member

Hmm, seems like it's currently reporting for "two whitespace characters" rather than "two spaces".

@spaceone -- FYI, you should be testing against the latest version of pycodestyle rather than pep8, see #466 for why the name changed.

spaceone

spaceone commented on Oct 31, 2016

@spaceone
ContributorAuthor

Yes, i do use the lastest pycodestyle: I just aliased pep8=pycodestyle to type this faster in my shell.

changed the title [-]E261 ignores tab/space mix[/-] [+]E261: ignores tab/space mix[/+] on Jun 14, 2020
spaceone

spaceone commented on Sep 16, 2021

@spaceone
ContributorAuthor

Still broken with pycodestyle 2.7.0

added a commit that references this issue on Sep 16, 2021
added 2 commits that reference this issue on Sep 16, 2021
added a commit that references this issue on Oct 7, 2021
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

      Participants

      @IanLee1521@spaceone

      Issue actions

        E261: ignores tab/space mix · Issue #582 · PyCQA/pycodestyle