Skip to content

Merge branch 'main' into pre-commit-ci-update-config #237

Merge branch 'main' into pre-commit-ci-update-config

Merge branch 'main' into pre-commit-ci-update-config #237

Workflow file for this run

name: Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements-dev.txt
- name: Install dependencies
run: |
pip install -r requirements-dev.txt
pip install ruff
- name: ruff
run: |
ruff check .
ruff format --check .
- name: mypy
run: |
mypy --version
rm -rf .mypy_cache
mypy $(find . -name "*.py" | xargs)