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

Fix #242: fix ruff issues #243

Merged

Conversation

thierry-martinez
Copy link
Contributor

This PR applies ruff check --fix and changes a percent format into an f-string to make graphix code base pass ruff check again.

This PR applies `ruff check --fix` and changes a percent format into an
f-string to make graphix code base pass `ruff check` again.
@shinich1
Copy link
Contributor

@thierry-martinez could you perhaps fix the ruff version for CI? if @EarlMilktea agrees?

@thierry-martinez
Copy link
Contributor Author

In 3d37711, I set the ruff version to 0.9.2 (current last version).

Copy link
Contributor

@EarlMilktea EarlMilktea left a comment

Choose a reason for hiding this comment

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

MEMO: I'll add some other suggestions later.

@EarlMilktea
Copy link
Contributor

@thierry-martinez Could you update pyproject.toml to include rule TC instead of TCH ? It was renamed.

Spotted by EarlMikltea: TeamGraphix#243 (comment).

The rule was renamed in ruff 0.8:
astral-sh/ruff#9573
@thierry-martinez
Copy link
Contributor Author

@thierry-martinez Could you update pyproject.toml to include rule TC instead of TCH ? It was renamed.

Thanks for having spotted this! Fix in 263509b.

Copy link
Contributor

@EarlMilktea EarlMilktea left a comment

Choose a reason for hiding this comment

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

LGTM!

@thierry-martinez thierry-martinez merged commit 6d7a40c into TeamGraphix:master Feb 1, 2025
20 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.

3 participants