-
Notifications
You must be signed in to change notification settings - Fork 749
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
Support for custom indent sizes (tab widths) other than 4 #206
Conversation
This seems somewhat undesirable since it explicitly goes against PEP 8. But it does resolve #204 (another issue caused by using |
PEP 8 contains an exception for legacy 8-spaced code. This commit would allow that code to be supported properly, so I don't think it goes against PEP 8. Compared to the However I will admit my personal motivation of this change is for checking 2-spaced code. :) |
+1 We also have an internal style guide that requires 2 spaces for indentation, so it would be nice to have this option when using the PEP8 checking. For now I just have to disable E111 and have no indentation checking. |
+1 I don't have control over company policies. I would rather be able to modify the rule instead of ignore it. |
First step on getting PyCQA#206 merged into master. Next steps: - New tests for strange indents - Fix help string for to be more useful to users - Fix the documentation to account for the new cli input
First step on getting PyCQA#206 merged into master. Next steps: - New tests for strange indents - Fix help string for to be more useful to users - Fix the documentation to account for the new cli input
First step on getting PyCQA#206 merged into master. Next steps: - New tests for strange indents - Fix help string for to be more useful to users - Fix the documentation to account for the new cli input
@jansel writes: "However I will admit my personal motivation of this change is for checking 2-spaced code. :)" ...and for 3-spaced code. I just too stubborn to use anything else. :) |
Replaced by #524 |
No description provided.