mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-08-20 02:52:27 +02:00
fix(dev): add reuse linter
We use this for our CI checks but for some reason not locally. Add it to our pyproject and Nix shell, and create a pre-commit step for it.
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ pkgs.mkShellNoCC {
|
||||
|
||||
if [ ! -f "''${venv}"/pyproject.toml ] || ! diff --brief pyproject.toml "''${venv}"/pyproject.toml >/dev/null; then
|
||||
printf '%s\n' 'Installing dependencies, pyproject.toml changed...' >&2
|
||||
uv pip install --quiet --editable . --group docs --group extra --group test
|
||||
uv pip install --quiet --editable . --group docs --group extra --group reuse --group test
|
||||
cp pyproject.toml "''${venv}"/pyproject.toml
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user