-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
install ruff in dev environment #1514
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1514 +/- ##
=======================================
Coverage 97.33% 97.33%
=======================================
Files 48 48
Lines 4537 4543 +6
=======================================
+ Hits 4416 4422 +6
Misses 121 121
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
what needs to be updated to get the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project uses Nix for setting up the dev environment including tools like pre-commit and Ruff. Hence, Ruff shouldn't be installed via Poetry. I believe that if you set up your dev environment via Nix and start VS Code from an active Nix environment, then VS Code's Ruff extension should pick up the ruff
binary installed by Nix.
/cc @yajo
ah i see, i was using the Poetry environment so what sets the version of Ruff? |
I had a deeper dive into the way the nix environment is set up in this repo. It's... complex. There's an awful lot of indirection there. |
Interest in joining #1468?
Yes 🙁 |
installs ruff inside the poetry environment
poetry run ruff ...
)