-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
R: rejectedThis will not be worked onThis will not be worked onT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?
Description
If I were starting a project from scratch, I'd start with enforcing black
. But most code is written on existing projects, and converting everything to black
requires a high degree of confidence and share of agreement within contributors.
What do you think about enabling an option in black
to reformat only:
- Code that violates PEP8 / some rules
- Code that has been changed
One of the nice attributes of autopep8
is that it only changes code where there's a problem. This has two big advantages to adoption:
- The impact is limited to strict, unambiguous improvements
- Projects don't require everyone to agree that
autopep8
is the correct tool - an individual / subset can start using it for their contributions
Thanks again for the project
Metadata
Metadata
Assignees
Labels
R: rejectedThis will not be worked onThis will not be worked onT: styleWhat do we want Blackened code to look like?What do we want Blackened code to look like?