Add documentation for how to use with Numpy and Pandas #130
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 Poetry and dependencies | |
run: | | |
set -e | |
curl -sSL https://install.python-poetry.org | python3 - | |
poetry install --all-extras | |
- uses: reviewdog/action-setup@v1 | |
- name: run mypy | |
run: poetry run mypy --no-warn-no-return dataclasses_json |