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

Migrate to ruff #423

Merged
merged 4 commits into from
Feb 5, 2025
Merged

Migrate to ruff #423

merged 4 commits into from
Feb 5, 2025

Conversation

nicoddemus
Copy link
Member

As #360 shows, black and reorder-python-imports conflict on how they format imports.

Switch over to ruff + its builtin import sorter (isort).

As #360 shows, black and reorder-python-imports conflict on how they format imports.

Switch over to `ruff` + its builtin import sorter (isort).
Copy link

sonarqubecloud bot commented Feb 4, 2025

Copy link
Contributor

@ro-oliveira95 ro-oliveira95 left a comment

Choose a reason for hiding this comment

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

Nice!

@nicoddemus nicoddemus merged commit 0158017 into master Feb 5, 2025
11 checks passed
distance = Quantity(
value=1, unit="m", caption="Distance"
)
distance = Quantity(value=1, unit="m", caption="Distance")
Copy link
Member

Choose a reason for hiding this comment

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

I just ask myself why did it reformat the string.

Copy link
Member Author

Choose a reason for hiding this comment

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

It also formats code in docstrings IIRC.

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.

3 participants