Skip to content

[pt] rb pruning

[pt] rb pruning #5287

Workflow file for this run

name: mypy
permissions: read-all
on:
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- '.github/workflows/mypy.yml'
- 'pyproject.toml'
- '**.py'
- '**.pyi'
jobs:
mypy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: 3.10.14
- name: Install NNCF
run: |
pip install . torch tensorflow -c constraints.txt
- name: Install mypy
run: pip install mypy==1.8.0
- name: Run mypy
run: mypy --install-types --non-interactive