Skip to content

Improvements

Improvements #30

name: Python Static Analysis
on:
push:
branches: [ main ]
paths:
- '**.py'
pull_request:
branches: [ main ]
paths:
- '**.py'
workflow_dispatch:
permissions:
contents: read
jobs:
checks-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -e 'src[dev]'
- name: Check mypy
run: |
mypy .