Skip to content

Code quality improvements. #505

Code quality improvements.

Code quality improvements. #505

Workflow file for this run

name: mypy
on:
push:
paths:
- '**/*.py'
- 'mypy.ini'
pull_request:
types: [opened, synchronize, reopened]
jobs:
mypy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Installing package
run:
pip install --require-hashes --no-deps -r requirements.txt
- name: Install workflow dependencies
run: |
pip install mypy
- name: Register matcher
run: echo ::add-matcher::./.github/python_matcher.json
- name: Running mypy
run: |
mypy --check-untyped-defs --no-color-output --install-types --non-interactive --ignore-missing-imports scaaml