Skip to content

Merge remote-tracking branch 'origin/master' into mypy-strict #889

Merge remote-tracking branch 'origin/master' into mypy-strict

Merge remote-tracking branch 'origin/master' into mypy-strict #889

Workflow file for this run

on: [ push, pull_request ]
name: mypy type checking
jobs:
mypy:
runs-on: ubuntu-latest
container:
image: archlinux/archlinux:latest
steps:
- uses: actions/checkout@v4
- run: pacman --noconfirm -Syu python python-pip
- run: pip install --break-system-packages --upgrade pip
# this will install the exact version of mypy that is in the pyproject.toml file
- name: Install archinstall dependencies
run: pip install .
- run: python --version
- run: mypy --version
- name: run mypy
run: mypy --config-file pyproject.toml
- name: run mypy strict
run: mypy --config-file mypy.ini