Skip to content

Fix mypy issues on python 3.11 and 3.9 (#430) #37

Fix mypy issues on python 3.11 and 3.9 (#430)

Fix mypy issues on python 3.11 and 3.9 (#430) #37

Workflow file for this run

name: code-quality
on:
push:
branches:
- master
- release/* # this is a backup. prefer publishing using a tagged master.
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
pull_request:
branches:
- master
jobs:
codestyle:
name: codestyle
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
# https://github.com/actions/python-versions/blob/main/versions-manifest.json
python-version: [ "3.9", "3.11" ]
if: github.ref != 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- uses: reviewdog/action-setup@v1
- name: run mypy
run: mypy --no-warn-no-return dataclasses_json