Skip to content

Commit

Permalink
fixup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Oct 11, 2021
1 parent c83630b commit 9029122
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/type-checking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,10 @@ jobs:
with:
python-version: '3.9'

- name: Install mypy
- name: Build yt + type check deps
run: |
python3 -m pip install --upgrade pip
python3 -m pip install mypy==0.910
python3 -m pip install types-PyYAML
python3 -m pip install types-toml
python3 -m pip install types-requests
python3 -m pip install types-chardet
python3 -m pip install types-setuptools
- name: Build yt
run: python3 -m pip install -e .[test]
python3 -m pip install -e .[typecheck]
- name: Run mypy
run: mypy yt
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ test =
nose-timer~=1.0.0
pytest>=6.1
pytest-xdist~=2.1.0
typecheck =
mypy==0.910
types-PyYAML==5.4.10
types-chardet==4.0.0
types-requests==2.25.9
types-setuptools==57.4.0
types-toml==0.10.0

[flake8]
max-line-length = 88
Expand Down

0 comments on commit 9029122

Please sign in to comment.