Skip to content

Commit f155b3e

Browse files
committed
Create GitHub action to analyze code with mypy
1 parent d41f235 commit f155b3e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/mypy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
uses: actions/setup-python@v3
1515
with:
1616
python-version: ${{ matrix.python-version }}
17-
- name: Install dependencies
17+
- name: Set up environment
1818
run: |
19-
python -m pip install --upgrade pip
20-
pip install mypy
19+
bash venv.sh
2120
- name: Analysing the code with mypy
2221
run: |
22+
. .venv/bin/activate
2323
mypy bot/TypoBot.py

0 commit comments

Comments
 (0)