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 line length to 90 #899

Merged
merged 2 commits into from
Feb 13, 2025
Merged

set line length to 90 #899

merged 2 commits into from
Feb 13, 2025

Conversation

DyfanJones
Copy link
Member

Set line length to 90 just to follow the quote:

In general, 90-ish seems like the wise choice

Which is close to what python formatter black and ruff default settings black: Line Length

Line length
You probably noticed the peculiar default line length. Black defaults to 88 characters per line, which happens to be 10% over 80. This number was found to produce significantly shorter files than sticking with 80 (the most popular), or even 79 (used by the standard library). In general, 90-ish seems like the wise choice.

@DyfanJones
Copy link
Member Author

/style

@DyfanJones DyfanJones merged commit 91e30d6 into paws-r:main Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant