2 ms·
Has anyone managed to get ruff to work when run as a pre-commit hook in a project whose deps (such as python and pre-commit) are declared in a flake.nix? I lov
by __MatrixMan__ 3y ago
Has anyone managed to get ruff to work when run as a pre-commit hook in a project whose deps (such as python and pre-commit) are declared in a flake.nix?
I love being able to pop between devices and have a uniform dev experience everywhere, but ruff is a thorn in my side.
pre-commit can't be told to just use the ruff binary /nix/store and fails to install it correctly, so things get hacky.