Skip to content

update how we set the matplotlib format #462

update how we set the matplotlib format

update how we set the matplotlib format #462

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
activate-environment: true
version: "latest"
python-version: ${{ matrix.python }}
- name: Install python dependencies
run: |
# uv sync install the project into the venv
uv sync --frozen --group lint
- name: black
run: black --check .
- name: flake8
run: |
flake8
# Warn about complex functions.
flake8 --exit-zero --max-complexity=10
- name: Type checking with mypy
run: mypy