Skip to content

Commit

Permalink
upgrade mypy in mypy workflow
Browse files Browse the repository at this point in the history
fibsem-tools depends on xarray-multiscale that installs an old version of mypy.
  • Loading branch information
pattonw committed Aug 8, 2022
1 parent 7b9b880 commit db841ea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/mypy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
uses: actions/checkout@v2
- name: mypy
run: |
pip install mypy
pip install -r requirements.txt
pip install .
pip install --upgrade mypy
mypy dacapo
3 changes: 1 addition & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install .
pip install pytest
- name: Test with pytest
run: |
pytest tests
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ default:
pip install .

install-dev:
pip install -r requirements.txt
pip install -e .
pip install --upgrade -r requirements-dev.txt

.PHONY: tests
tests:
Expand Down
File renamed without changes.

0 comments on commit db841ea

Please sign in to comment.