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

MAINT: Reformat codebase with new style of ruff 0.3.0 #3345

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

binste
Copy link
Contributor

@binste binste commented Feb 29, 2024

Ruff 0.3.0 introduced a slightly new code style: https://github.com/astral-sh/ruff/releases/tag/v0.3.0 As we are using the latest ruff in the test pipeline, I've reformatted the codebase so we're not blocked by this for other PRs.

All changes in here, except for pyproject.toml, come from ruff format .

@@ -195,7 +195,7 @@ indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "lf"

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ruff deprecated lint configurations in the top-level ruff namespace -> That's why I moved it into ruff.lint

@binste binste merged commit a724353 into vega:main Mar 1, 2024
10 checks passed
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.

None yet

2 participants