Skip to content

Commit

Permalink
Add setup-dev.sh to root and compute_horde for running uv
Browse files Browse the repository at this point in the history
`uv` does not yet support running sync for all groups. We need to specify
each group manually. These scripts are a temporary workaround until the
corresponding feature is implemented in `uv`.

astral-sh/uv#8594
  • Loading branch information
olzhasar-reef committed Nov 5, 2024
1 parent c8f8b3e commit 1b0edae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions compute_horde/setup-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Copyright 2017, Reef Technologies (reef.pl), All rights reserved.

set -e

# Create a lock file, install Python dependencies
[ -f uv.lock ] || uv lock
uv sync --group test --group format --group lint --group type_check
8 changes: 8 additions & 0 deletions setup-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Copyright 2017, Reef Technologies (reef.pl), All rights reserved.

set -e

# Create a lock file, install Python dependencies
[ -f uv.lock ] || uv lock
uv sync --group dev

0 comments on commit 1b0edae

Please sign in to comment.