Skip to content

Commit

Permalink
chore: change default virtual env dir to .venv
Browse files Browse the repository at this point in the history
To follow uv's defaults.
  • Loading branch information
scop committed Nov 5, 2024
1 parent 20de83d commit f3e3129
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
path: |
~/.cache/pip
venv
.venv
key: >-
lint-${{ hashFiles(
'.github/requirements.txt',
Expand All @@ -31,9 +31,9 @@ jobs:
run: |
set -euxo pipefail
# venv due to mypy through pre-commit, venv-run
python3 -m venv venv
venv/bin/python3 -m pip install -Ur .github/requirements.txt
- run: venv/bin/gitlint --commits "origin/$GITHUB_BASE_REF..HEAD"
python3 -m venv .venv
.venv/bin/python3 -m pip install -Ur .github/requirements.txt
- run: .venv/bin/gitlint --commits "origin/$GITHUB_BASE_REF..HEAD"
if: github.event_name == 'pull_request'
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
/.mise.local.toml
/.nox/
/.python-version
/.venv/
/build/
/dist/
/service_account.json
/venv/
__pycache__/

0 comments on commit f3e3129

Please sign in to comment.