jsh9 / cercis

https://pypi.org/project/cercis/
MIT License
14 stars 1 forks source link

Default behaviour should be in-line with black #32

Closed FredHappyface closed 1 year ago

FredHappyface commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently I wouldn't be able to adopt this easily as the current default behaviour differs significantly from black

Describe the solution you'd like

Please consider making the default behaviour in line with black and adding switches to change this. Eg. -t or --tabs changes indentation to use tabs

Describe alternatives you've considered

Using blackt

Additional context

jsh9 commented 1 year ago

Hi @FredHappyface ,

Please see the instructions here on how to completely fall back to Black's behaviors. You can tweak them however you'd like.

I would be very hesitant to make the default of Cercis completely identical to the default of Black though. Because this means everyone who uses Cercis would at least need to tweak 1 config.

jsh9 commented 1 year ago

(Closing this issue as "no need to fix".)