Skip to content

Make Moire compatible with Python 3.8 #31

Make Moire compatible with Python 3.8

Make Moire compatible with Python 3.8 #31

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black~=23.1.0 flake8 pytest
- name: Check code style with Black
run: |
black -l 80 --check moire tests
- name: Lint with Flake8
run: |
flake8 --max-line-length=80 --ignore=E203,W503,ANN002,ANN003,ANN101,ANN102
- name: Test with pytest
run: |
pytest -v