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

Option for detecting hanging indents #632

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

SamriddhiJain
Copy link

@SamriddhiJain SamriddhiJain commented Mar 15, 2017

Some projects need to enforce hanging indents (rather than visual indents) in their codes. To facilitate this, added a check when some part is not in valid hanging indent format.

@SamriddhiJain
Copy link
Author

I want this error code to be ignored by default so that it doesn't interfere with the existing tests as it is doing now in the travis builds. So far I have added the code in default_ignore list in pycodestyle.py, setup.cfg, test_api.py, but with no luck. Is there any documentation which I can follow for this?

@SamriddhiJain
Copy link
Author

@sigmavirus24 Hi, I'm trying to add this test for hanging indents and would like to make it ignore by default. I followed this similar commit of yours for W503, 1, but still the tests are running. As I'm not able to find any documentation on how to do this, can you please suggest what am I missing to make this test ignore by default.

@menshikh-iv
Copy link

Hi @SamriddhiJain, we are very interested in this PR, what's a status here?

@sigmavirus24
Copy link
Member

@menshikh-iv this is blocked on my help/review. I'm hopefully going to get around to this in the next month

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

Successfully merging this pull request may close these issues.

3 participants