Extend the mypy checks (#2120) #7
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
on: [ push, pull_request ] | |
name: mypy type checking | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pacman --noconfirm -Syu python mypy python-pip | |
- run: pip install --break-system-packages --upgrade pip | |
- run: pip install --break-system-packages fastapi pydantic | |
- run: python --version | |
- run: mypy --version | |
# one day this will be enabled | |
# run: mypy --strict --module archinstall || exit 0 | |
- name: run mypy | |
run: mypy --config-file pyproject.toml |