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

Support for custom indent sizes (tab widths) other than 4 #524

Closed
wants to merge 5 commits into from

Conversation

ArgentFalcon
Copy link
Contributor

Updates #206 so that it can be merged with current master
Also, adds unit tests and updates the docs properly

Jason Ansel and others added 5 commits June 8, 2013 22:29
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
Test that setting the indent_size to something other than 4 actually works and gives us correct Errors
(Related to a comment on the original pull request)
Also, updated docs/intro.rst with the new command
@tgy
Copy link

tgy commented Jan 18, 2017

I am really interested in seeing this merged. Is anyone planning on merging this?

@tgy
Copy link

tgy commented Jan 18, 2017

@iamaspacecow I proposed a PR on your fork with a rebase on PyCQA/pycodestyle master branch. Hope that helps.

Copy link
Member

@sigmavirus24 sigmavirus24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like @IanLee1521 to review this before merging it.

@tgy
Copy link

tgy commented Jan 28, 2017

@sigmavirus24 as @iamaspacecow is showing no sign of life, should I open a new PR with my branch (rebased on master)?

@sigmavirus24
Copy link
Member

@tgy this branch does not need to be rebased. @iamaspacecow is not the blocker here.

@jdufresne
Copy link
Contributor

What do you think about obtaining the indent size from a project's .editorconfig?

@tgy
Copy link

tgy commented Nov 14, 2017

@jdufresne to whom is your question directed to?

@jdufresne
Copy link
Contributor

To all involved. To anyone interested in discussing or implementing the idea.

@tgy
Copy link

tgy commented Nov 14, 2017

@jdufresne I personally love the idea!

@TD22057
Copy link

TD22057 commented Sep 26, 2018

+1 - thanks for this. I have a project with 500,000 SLOC of python that was started long before PEP8 and uses a 3 space indent.

@dannysauer
Copy link

Necromancy +1 :)

@jaydeep987
Copy link

how many centuries needed to merge this PR?!!

@valleedelisle
Copy link

I'd put a +1 here, but I'll put a -2 because I personally believe that 4 spaces indent is too much.

bukzor pushed a commit to bukzor/pycodestyle that referenced this pull request Nov 18, 2020
This is an updated revision of pull requests PyCQA#206 and PyCQA#524
@asottile
Copy link
Member

superseded by #970

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.

None yet

9 participants