Skip to content

v2.4.16

v2.4.16 #9

Workflow file for this run

name: Validate
on:
push:
pull_request:
types:
- opened
- edited
- reopened
branches:
- "main"
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
python -m pip install -U \
pip setuptools wheel \
mypy ruff
pip install --no-deps -r requirements.txt
- name: Format with ruff
run: |
ruff format .
- name: Lint with ruff
run: |
ruff check .
- name: Type-check with mypy
run: |
mypy .