π fix and improve many scalar binop signatures #49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
env: | |
UV_FROZEN: 1 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- name: typos | |
uses: crate-ci/typos@master | |
- uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
python-version: "3.13" | |
version: latest | |
- name: ruff check | |
run: uv run ruff check --output-format=github | |
- name: ruff format --check | |
run: uv run ruff format --check | |
- name: basedpyright (numpy-stubs) | |
run: > | |
uv run basedpyright | |
src/numpy-stubs/_typing | |
src/numpy-stubs/random | |
- name: basedpyright (test) | |
run: uv run basedpyright test | |
- name: basedmypy (numpy-stubs) | |
run: > | |
uv run --no-editable mypy | |
src/numpy-stubs/_typing | |
src/numpy-stubs/random | |
- name: basedmypy (test) | |
run: uv run test/bmp.py | |
- name: pytest | |
run: uv run pytest |