Skip to content

Fix mypy issues

Fix mypy issues #2361

Workflow file for this run

name: Linting
on:
pull_request:
push:
branches: [ master ]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: '3.x'
- run: |
python -m pip install --upgrade pip
python -m pip install -U .[lint]
- name: black
run: |
black --check --diff src tests
- name: flake8
run: |
flake8 src tests
- name: mypy
run: |
mypy src
- name: isort
run: |
isort src tests