mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-04 16:32:10 +00:00
fogot that file
This commit is contained in:
6
.github/workflows/lint-openbb-platform.yml
vendored
6
.github/workflows/lint-openbb-platform.yml
vendored
@@ -83,7 +83,11 @@ jobs:
|
||||
continue
|
||||
fi
|
||||
|
||||
has_dev_group=$(python -c 'import sys,tomllib; p=tomllib.load(open(sys.argv[1], "rb")); print("yes" if "dev" in p.get("dependency-groups", {}) else "no")' "$pkg/pyproject.toml")
|
||||
has_dev_group="no"
|
||||
if grep -q '^\[dependency-groups\]' "$pkg/pyproject.toml" \
|
||||
&& grep -Eq '^\s*dev\s*=' "$pkg/pyproject.toml"; then
|
||||
has_dev_group="yes"
|
||||
fi
|
||||
|
||||
if [ "$has_dev_group" = "yes" ]; then
|
||||
uv pip install --system -e "./$pkg" --group dev
|
||||
|
||||
Reference in New Issue
Block a user