Skip to content

Remove cuda_bindings/cuda/py.typed #3

Remove cuda_bindings/cuda/py.typed

Remove cuda_bindings/cuda/py.typed #3

Workflow file for this run

name: "Optional mypy check"
on:
push:
branches:
- "pull-request/[0-9]+"
- "main"
required: false
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- name: Checkout ${{ github.event.repository.name }}
uses: actions/checkout@v4
with:
fetch-depth: 0
# WAR: setup-python is not relocatable...
# see https://github.com/actions/setup-python/issues/871
- name: Set up Python ${{ matrix.python-version }}
if: ${{ startsWith(matrix.host-platform, 'linux') }}
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
cd cuda_core
python -m pip install --upgrade pip
pip install -e .
pip install mypy
- name: Run Mypy
run: |
cd cuda_core
mypy --no-namespace-packages . || true