Skip to content

Commit

Permalink
Install mypy within virtual environment in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosnt committed Feb 20, 2022
1 parent d7e5ea9 commit 5862487
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,15 @@ jobs:
- name: Install Python dependencies
run: |
pip install --upgrade pip
python3 -m pip install -r requirements-dev.txt
python3 -m pip install virtualenv==20.13.1
python3 -m venv venv
source venv/bin/activate
python3 -m pip install mypy==0.931
python3 -m pip install -r requirements.txt
echo "VIRTUAL ENV:" $VIRTUAL_ENV
- name: MyPy check
run: |
ls -la
source venv/bin/activate
echo "VIRTUAL ENV:" $VIRTUAL_ENV
mypy -v --namespace-packages --package rekono
eslint:
Expand Down
3 changes: 0 additions & 3 deletions requirements-dev.txt

This file was deleted.

0 comments on commit 5862487

Please sign in to comment.