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

Bump to ruff 0.3.0 #3081

Merged
merged 2 commits into from Mar 1, 2024
Merged

Bump to ruff 0.3.0 #3081

merged 2 commits into from Mar 1, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Mar 1, 2024

ruff v0.3.0 was released a few hours ago. This PR formats the source codes with ruff 0.3.0. The changes are caused by two ruff changes:

  1. Add a blank line after the module docstring (Add newline after module docstrings in preview style astral-sh/ruff#8283)
  2. Wrap multiple context managers in with parentheses when targeting Python 3.9 or newer (Parenthesize multi-context managers astral-sh/ruff#9222)

@seisman seisman added the maintenance Boring but important stuff for the core devs label Mar 1, 2024
@seisman seisman added this to the 0.12.0 milestone Mar 1, 2024
@seisman seisman added the final review call This PR requires final review and approval from a second reviewer label Mar 1, 2024
@seisman seisman removed the final review call This PR requires final review and approval from a second reviewer label Mar 1, 2024
@seisman seisman merged commit 66eeab3 into main Mar 1, 2024
23 of 24 checks passed
@seisman seisman deleted the ruff/0.3.0 branch March 1, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants