Skip to content

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

Merged
binste merged 1 commit into
vega:mainfrom
binste:use_new_ruff
Mar 1, 2024
Merged

binste merged 1 commit into
vega:mainfrom
binste:use_new_ruff

Conversation

@binste

@binste binste commented Feb 29, 2024 •

Copy link
Copy Markdown
Contributor

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 .

Comment thread pyproject.toml
line-ending = "lf"

[tool.ruff.mccabe]
[tool.ruff.lint.mccabe]

Copy link
Copy Markdown
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
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.

2 participants