Skip to content

chore: migrate to ruff formater#540

Merged
enocom merged 1 commit intomainfrom
ruff
Apr 1, 2026
Merged

chore: migrate to ruff formater#540
enocom merged 1 commit intomainfrom
ruff

Conversation

@enocom
Copy link
Copy Markdown
Member

@enocom enocom commented Mar 31, 2026

Fixes #443.

@enocom enocom marked this pull request as ready for review March 31, 2026 01:50
@enocom enocom requested a review from a team as a code owner March 31, 2026 01:50
@enocom enocom enabled auto-merge (squash) March 31, 2026 03:27
Comment thread pyproject.toml
"I", # isort
"ANN", # flake8-annotations
]
ignore = [
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Why did we decide to ignore these? Can we add a comment here explaining the reason?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We were implicitly depending on these rules. Now that ruff is in, I think we should delete the ignore list and just default to whatever the standard list is. I'll send a follow-up PR for that.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See #542 where I've removed these rules (and the linter is now complaining). I think we can fix all these problems and have a cleaner code base as a result.

@enocom enocom merged commit 327e773 into main Apr 1, 2026
28 checks passed
@enocom enocom deleted the ruff branch April 1, 2026 02:02
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.

Switch to ruff linter

2 participants