- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.3k
 
Closed
Labels
type:enhancementenhance or introduce a new featureenhance or introduce a new feature
Milestone
Description
I feel fairly strongly that this repo should use some sort of pep8-compliant auto-formatter to enforce a common code formatting style.
There are loads of advantages to using an auto-formatter
- consistent visual style
 - waste less time manually tweaking formatting
 - whole class of flake8 lints are eradicated by the formatter
 - never lose time discussing/debating formatting changes in a PR again
 
I don't have any strong feelings about which formatter should be used, or what configuration it should employ. I think the value is in the consistency, not the specific style. I've submitted a few PRs now where i've had to spend 10mins tweaking indents until flake8 is happy. That seems absolutely bonkers to me.
I have personally found Black to be really good and have previously suggested it in a rejected PR. I would welcome any other suggestions for a different pep8-compliant formatter
danyeaw
Metadata
Metadata
Assignees
Labels
type:enhancementenhance or introduce a new featureenhance or introduce a new feature