Skip to content

Commit

Permalink
venv
Browse files Browse the repository at this point in the history
  • Loading branch information
dbieber committed May 19, 2024
1 parent 4a54b11 commit b34c5d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Lint with ruff
run: |
source .venv/bin/activate
python -m ruff .
python -m ruff check .
- name: Test with pytest
run: |
source .venv/bin/activate
Expand Down Expand Up @@ -53,9 +53,9 @@ jobs:
git checkout $GITHUB_SHA
echo "Setting up Python environment"
python3 -m venv env
./env/bin/pip install uv
./env/bin/uv venv
./env/bin/uv pip install -e . # Install Python dependencies
VIRTUAL_ENV=./env ./env/bin/uv pip install -e . # Install Python dependencies
echo "Start on boot"
sudo cat /etc/rc.local
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ test = [

[tool.ruff]
line-length = 180
ignore = ["E722"]
show-source = true
exclude = ['scratch']
lint.ignore = ["E722"]
output-format = "full"
exclude = ["scratch"]

[build-system]
requires = ["setuptools>=43.0.0", "wheel"]
Expand Down

0 comments on commit b34c5d0

Please sign in to comment.