Skip to content

Better understanding of where this went wrong internally #378

Better understanding of where this went wrong internally

Better understanding of where this went wrong internally #378

Workflow file for this run

name: Type Coverage and Linting
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 6"
push:
branches:
- main
pull_request:
branches:
- main
types: [opened, reopened, synchronize]
jobs:
check:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ '3.12', '3.13', '3.14-dev' ]
name: "Type Coverage and Linting @ ${{ matrix.python-version }}"
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python @ ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install project @ ${{ matrix.python-version }}
run: |
python -m pip install .
- name: "Run Pyright @ ${{ matrix.python-version }}"
if: ${{ matrix.python-version != '3.14-dev' }}
uses: jakebailey/pyright-action@v2
with:
warnings: false
- name: Lint check
uses: astral-sh/ruff-action@v3
with:
args: check .
version: latest
- name: Formatting check
uses: astral-sh/ruff-action@v3
with:
args: format --check
version: latest
- name: Verify No CLRF line endings.
run: >
! $(find . ! -path "./.git/*" -not -type d -exec file "{}" ";" |& grep -q " CRLF ")
- name: Ensure runtime validity of annotations
run: python _misc/_ensure_annotations.py