Skip to content

release v0.7.0

release v0.7.0 #42

Workflow file for this run

# This workflow will install Python dependencies and lint with a variety of Python versions
name: Python lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
ignore_words_list: datas
path: pywebio_battery
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[all]"
- name: Lint with flake8
run: |
pip install flake8
flake8 --ignore=E126,E127,E128,E131,E226,E402,E731,F401,F403,F405,W291,W292,W293 \
--max-complexity=32 --max-line-length=525 --show-source --statistics ./pywebio_battery