Skip to content

Fix all reportInvalidTypeForm #338

Fix all reportInvalidTypeForm

Fix all reportInvalidTypeForm #338

Workflow file for this run

name: 'Test'
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Cache pip
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run:
python -m pip install -r tests/requirements.txt
- name: Run pyright tests
uses: jakebailey/pyright-action@v2
with:
pylance-version: latest-prerelease
- name: Run mypy tests
run:
python -m mypy .
hygiene:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Run Ruff Linter
uses: astral-sh/ruff-action@v1
- name: Run Ruff Formatter
uses: astral-sh/ruff-action@v1
with:
args: "format --check"