tooling: add black and flake8 for python formatting/linting (#6454)

This commit is contained in:
Matthew Peveler
2021-09-03 15:17:51 +00:00
committed by GitHub
parent f4390b1637
commit 3fa29ea1c2
7 changed files with 188 additions and 123 deletions

View File

@@ -9,6 +9,10 @@ jobs:
name: CI
steps:
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Checkout
uses: actions/checkout@v2
@@ -22,6 +26,9 @@ jobs:
- name: Install npm dependencies
run: npm ci
- name: Install python dependencies
run: python3 -m pip install -r requirements.txt
- name: Test
run: npm test