You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in our project, we also use rules_uv to generate a virtual environment for testing, type checking etc.
the ruff version we get in the exported venv therefore most likely deviates from the one used by rules_lint (devs are more likely to use the ruff from the venv as it is integrated in their IDE - @alexeagle shows something similar e.g. in https://www.youtube.com/watch?v=GTsy7IfmywQ)
So we ask ourself - what is the recommended way to sync up those possible mismatching ruff versions?
The text was updated successfully, but these errors were encountered:
This is more or less a follow-up to #465
And it is more or less a question of "what is the best way to do XY"
Status Quo:
rules_lint
to ruff our python code baserules_lint
pulls in a dedicated version of ruff (see e.g. https://github.com/aspect-build/rules_lint/blob/3845d04c68102b092c22d39f53d3c1839e514339/lint/multitool.lock.json)rules_uv
to generate a virtual environment for testing, type checking etc.ruff
version we get in the exported venv therefore most likely deviates from the one used byrules_lint
(devs are more likely to use the ruff from the venv as it is integrated in their IDE - @alexeagle shows something similar e.g. in https://www.youtube.com/watch?v=GTsy7IfmywQ)So we ask ourself - what is the recommended way to sync up those possible mismatching ruff versions?
The text was updated successfully, but these errors were encountered: