Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong continued indentation #248

Open
chtenb opened this issue Jul 6, 2016 · 2 comments
Open

wrong continued indentation #248

chtenb opened this issue Jul 6, 2016 · 2 comments
Assignees

Comments

@chtenb
Copy link

chtenb commented Jul 6, 2016

for name in ['A_NORMAL',
             'A_STANDOUT',
             'A_UNDERLINE',
             ]: # X
    pass

This code is idempotent under autopep8, but pylint complains about the line marked with X having a wrong continued indentation. This is fixed when decreasing the indentation with one space. Is pylint wrong here, or is autopep8 formatting wrongly?

for name in [
        'A_NORMAL',
    'A_STANDOUT',
    'A_UNDERLINE',
]:
    pass

This code is idempotent as well. I think it is clear what is wrong here.

My autopep8 version is 1.2.4.

@myint
Copy link
Collaborator

myint commented Jul 8, 2016

I think it is a pylint problem.

pylint-dev/pylint#638

@myint myint closed this as completed Jul 8, 2016
@chtenb
Copy link
Author

chtenb commented Jul 8, 2016

What about the second case?
On Jul 8, 2016 7:36 PM, "Steven Myint" notifications@github.com wrote:

I think it is a pylint problem.

pylint-dev/pylint#638 pylint-dev/pylint#638


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#248 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AA-7MbSlBZw3dG6luRGkqPnCSh-j7OrRks5qToqmgaJpZM4JGRL2
.

@myint myint reopened this Jul 9, 2016
@hhatto hhatto self-assigned this Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants