Fix model device transfer bug (#379) #821
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Python mypy | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| static-analysis: | |
| name: Python mypy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.10' | |
| - name: Setup checkout | |
| uses: actions/checkout@v2 | |
| - name: mypy | |
| run: | | |
| pip install . | |
| pip install --upgrade mypy | |
| mypy dacapo |