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

Bump boostrap ruff to 0.4.4 #1075

Merged
merged 5 commits into from
May 13, 2024
Merged

Conversation

davfsa
Copy link
Contributor

@davfsa davfsa commented May 12, 2024

Noticed ruff was a bit old and was missing a lot of rules, leading to a lot of "unused noqa".

I unfortunately dont have the rust knowledge to improve this, but it would be nice if we could update ruff independently of rye and still run it using rye lint/fmt.

Thanks for this amazing tool! Gave it a shot today and really really enjoyed playing around with it and testing it out. Currently porting some of my projects to use it!

@davfsa
Copy link
Contributor Author

davfsa commented May 12, 2024

The last tests failure is insanely weird and I'm not sure if its expected . Ill leave it without change and let someone else have a look at it, because I cant reproduce it locally and I'm not sure what other file it could be talking about (does space.init create a __init__py?)

https://github.com/astral-sh/rye/actions/runs/9054124712/job/24873624010#step:7:206

@bluss
Copy link
Contributor

bluss commented May 12, 2024

Yes, space.init looks like it uses regular "rye init" which creates src/packagename/__init__.py already. I think the new output is expected and can just be confirmed then?

@davfsa
Copy link
Contributor Author

davfsa commented May 12, 2024

Thanks for the extra pair of eyes. I had a suspicion it had something to do with that, but was not 100% sure. Made the test account for that too

@charliermarsh charliermarsh merged commit 43ac3a3 into astral-sh:main May 13, 2024
8 checks passed
@charliermarsh
Copy link
Member

Thanks!

@davfsa davfsa deleted the task/bump-ruff-to-4 branch May 13, 2024 04:52
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