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

chore(python): Bump ruff version to 0.2.0 #14294

Merged
merged 3 commits into from
Feb 5, 2024
Merged

chore(python): Bump ruff version to 0.2.0 #14294

merged 3 commits into from
Feb 5, 2024

Conversation

stinodego
Copy link
Member

@stinodego stinodego commented Feb 5, 2024

Nothing exciting happening this version bump, but I went ahead with it to future-proof the config files.

@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars labels Feb 5, 2024
@stinodego stinodego changed the title chore(python): Bump ruff version chore(python): Bump ruff version to 0.2.0 Feb 5, 2024
@stinodego stinodego marked this pull request as ready for review February 5, 2024 20:36
@stinodego stinodego merged commit dd13f75 into main Feb 5, 2024
17 checks passed
@stinodego stinodego deleted the ruff-0.2.0 branch February 5, 2024 20:49

[tool.ruff.pycodestyle]
[tool.ruff.lint.pycodestyle]
max-doc-length = 88
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR, but what are your thoughts on bumping the max-doc-length up to, say, 120? A lot of the doc examples go past 88 and there are a lot of # noqa: W505's in there. I get keeping code short to maintain readability, but for docs I think a short doc width actually can hurt.

Copy link
Member Author

@stinodego stinodego Feb 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely not. There are a few exceptions but not many. The short summary should be short - for the rest, you have as many lines as you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal An internal refactor or improvement python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants