Skip to content

Run no formatter by default #450

Open
@akaihola

Description

@akaihola

Is your feature request related to a problem? Please describe.
Darker has become a versatile tool for running reformatters, linters and other code inspection/modification tools. For use cases where reformatting with Black isn't desired, and for consistency and symmetry, Black should be enabled only by a configuration / command line option just like other supported tools.

Describe the solution you'd like
If no configuration or command line option for disabling/enabling Black is provided, Black should not be run. In other words, black = false / --no-black OR --format=none OR --formatter=none should be the default.

Describe alternatives you've considered
Keep Darker as is and add another command line tool which invokes the same code but with different defaults.

Additional context
See

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmany-formattersSupport for multiple code formatters and skipping formatting

Projects

Status

Todo

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions