format #43
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: pypx800v5 Python API Client | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Create Python virtual environment | |
run: | | |
python -m venv venv | |
. venv/bin/activate | |
pip install -U pip setuptools | |
pip install -r requirements.txt | |
- uses: psf/black@stable | |
with: | |
options: "pypx800v5 --check" | |
- uses: jpetrucciani/mypy-check@master | |
with: | |
path: pypx800v5 | |
mypy_flags: --config-file mypy.ini |