Skip to content

E261: ignores tab/space mix #582

Open

Description

@spaceone
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

  1. spaceone commented on Oct 26, 2016

    @spaceone
    ContributorAuthor
  2. 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.

  3. 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.

  4. changed the title [-]E261 ignores tab/space mix[/-] [+]E261: ignores tab/space mix[/+] on Jun 14, 2020
  5. spaceone commented on Sep 16, 2021

    @spaceone
    ContributorAuthor

    Still broken with pycodestyle 2.7.0

  6. added 3 commits that reference this issue on Sep 16, 2021
  7. 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

      No branches or pull requests

      Issue actions