Skip to content

devguide

devguide #165

Workflow file for this run

name: typehints check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
mypy:
name: mypy typehints check
runs-on: 'ubuntu-latest'
steps:
- name: checkout docker-systemctl-replacement
uses: actions/checkout@v2
with:
path: software
- name: 'refresh install'
run: |
sudo apt-get update --fix-missing
- name: 'install python3 mypy'
run: |
sudo apt-get install --fix-broken --ignore-missing python3-typed-ast mypy
- name: 'show mypy directories'
run: |
find . -type d
mypy --version
- name: 'workaround mypy bug'
run: |
sed -i -e "s|return codecs.*|& # type: ignore|" software/dotnetrc.py
- name: 'make type (mypy strict type checking)'
id: check
run: |
make type -C software