import from collections.abc instead of from typing #40
This file contains 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: Check static types | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install packages | |
run: | | |
pip install --upgrade pip | |
pip install --use-pep517 -e '.[host,tests]' | |
pip install --upgrade mypy | |
- name: Run mypy | |
run: mypy src/ tests/ |