Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set black line-length to 120 characters #736

Merged
merged 2 commits into from
Sep 7, 2021
Merged

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