Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix Python line lengths to 88 characters #4152

Merged
merged 6 commits into from
Jul 25, 2022

Conversation

stinodego
Copy link
Contributor

Relates to #4044

Apologies for the mega-PR. There was a lot to fix. Fortunately it's all superficial formatting stuff, so I think it should still be reviewable.

Changes:

  • Set flake8 max-line-length to 88.
  • Wrapped all docstrings and comments at 88 characters.
  • Fixed a few typos here and there.

Misc:

  • Added the int type to the Expr.is_between method start/end args - this fixed some mypy ignores that were giving line length problems

Line length stuff is always controversial, but I think it's useful to just pick one value and stick with it!

@github-actions github-actions bot added the python Related to Python Polars label Jul 25, 2022
@stinodego stinodego marked this pull request as draft July 25, 2022 15:32
@stinodego stinodego force-pushed the line-lengths-2 branch 3 times, most recently from eb30d7e to 5b9e730 Compare July 25, 2022 15:57
@stinodego stinodego marked this pull request as ready for review July 25, 2022 16:06
@ritchie46
Copy link
Member

Yeap, I think its good that we adhere to the line length we already had enforced by black. Thanks for the effort!

@ritchie46 ritchie46 merged commit a09b192 into pola-rs:master Jul 25, 2022
@stinodego stinodego deleted the line-lengths-2 branch August 30, 2022 18:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants