Skip to content

Comments

Set black line-length to 120 characters#736

Merged
LarsAsplund merged 2 commits intoVUnit:masterfrom
dbhi:black-width
Sep 7, 2021
Merged

Set black line-length to 120 characters#736
LarsAsplund merged 2 commits intoVUnit:masterfrom
dbhi:black-width

Conversation

@umarcor
Copy link
Member

@umarcor umarcor commented Sep 6, 2021

The default line-length in black is set to 88 characters, for rather arbitrary/historical reasons. Some weeks ago, we discussed about it in GHDL (since we use black for pyGHDL) and we agreed on setting it to 120 characters (ghdl/ghdl#1800). Hence, I'm proposing the same change here.

As seen in the file changes of this PR, the size of the code is reduced to 30% in terms of the number of lines.

Since some other PRs might be affected by this, we might want to keep it on hold and apply it right before a breaking release.

@LarsAsplund LarsAsplund merged commit c5a7955 into VUnit:master Sep 7, 2021
@umarcor umarcor deleted the black-width branch September 7, 2021 09:41
@eine eine added this to the v4.6.0 milestone Sep 28, 2021
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.

3 participants