Skip to content

Commit 7a6e9cf

Browse files
committed
fix mypy run
1 parent 078c21e commit 7a6e9cf

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

.github/workflows/codeflash-optimize.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ jobs:
3131
with:
3232
python-version: 3.11.6
3333

34-
- name: Install dependencies (CLI)
35-
run: |
36-
uv tool install poetry
37-
uv venv
38-
source .venv/bin/activate
39-
poetry install --with dev
40-
4134
- name: Run Codeflash to optimize code
4235
id: optimize_code
4336
run: |
44-
source .venv/bin/activate
45-
poetry run codeflash
37+
uv run codeflash

.github/workflows/mypy.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ jobs:
1818

1919
- name: Install uv
2020
uses: astral-sh/setup-uv@v5
21-
with:
22-
version: "0.5.30"
23-
24-
- name: install poetry as a tool
25-
run: uv tool install poetry
26-
27-
- name: install dependencies
28-
run: uvx poetry install --with dev
2921

3022
- name: Run mypy on allowlist
31-
run: uvx poetry run mypy --non-interactive --config-file pyproject.toml @mypy_allowlist.txt
23+
run: uv run --all-groups mypy --non-interactive --config-file pyproject.toml @mypy_allowlist.txt

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727

2828
- name: Unit tests
29-
run: uv run --group dev pytest tests/ --cov --cov-report=xml
29+
run: uv run pytest tests/ --cov --cov-report=xml
3030

3131
- name: Upload coverage reports to Codecov
3232
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)