Skip to content

Commit

Permalink
fix mypy not detect pytest in dev ci (#46)
Browse files Browse the repository at this point in the history
mypy require pytest (test dependency) to be installed in order to
perform static type analysis, hence it raise error if pytest dependency
not installed. to fix this, we just need to include the test dependency.
  • Loading branch information
kiraware authored Sep 18, 2024
1 parent 597432f commit 260027c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --without test --with docs
run: poetry install --no-interaction --no-root --with docs
- name: Activate virtual environment
run: source $VENV
- name: Lint with Ruff
Expand Down

0 comments on commit 260027c

Please sign in to comment.