Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

v2.3.34

v2.3.34 #14

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 .