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

style: pin ruff version #8

Merged
merged 2 commits into from
Feb 5, 2024
Merged

style: pin ruff version #8

merged 2 commits into from
Feb 5, 2024

Conversation

jsstevenson
Copy link
Member

@jsstevenson jsstevenson commented Feb 5, 2024

noticed a funny bug today. Latest Ruff version designated something as a fail. Added a noqa to ignore it. Pre-commit can only be tagged with specific ruff versions, and it flagged that noqa as "unused".

In a way, every new minor Ruff update has a chance to be "breaking" (in terms of causing fails in CI that were passing before) so I think it might make general good sense to be pinning this stuff and then updating every 3-6 months unless we see a new feature we really want.

update: ruff 0.2.0 came out in the time between me updating my local environment and actually putting this issue together. Went ahead and just updated it here.

@jsstevenson jsstevenson added the priority:medium Medium priority label Feb 5, 2024
korikuzma
korikuzma previously approved these changes Feb 5, 2024
Copy link
Member

@korikuzma korikuzma left a comment

Choose a reason for hiding this comment

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

That makes sense to me. Can we create a github bot or something to remind us to update every 3mo-6mo?

@jsstevenson jsstevenson merged commit 7181bc2 into main Feb 5, 2024
2 checks passed
@jsstevenson jsstevenson deleted the pin-ruff-version branch February 5, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:medium Medium priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants