Skip to content

update cli example collect_env.SystemEnv namedtuple to remain compati… #324

update cli example collect_env.SystemEnv namedtuple to remain compati…

update cli example collect_env.SystemEnv namedtuple to remain compati… #324

Workflow file for this run

name: Test
on: # Trigger the workflow on push or pull request, but only for the main branch
push:
branches: [main, "release/*"]
pull_request:
branches: [main, "release/*"]
# env:
# PACKAGE_NAME: "pytorch"
jobs:
mypy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
pip install '.[dev]'
pip list
- run: mypy --install-types --non-interactive