Skip to content

added pr and push lint test with flake8 and format test with black #3

added pr and push lint test with flake8 and format test with black

added pr and push lint test with flake8 and format test with black #3

Workflow file for this run

name: Python Format Check
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check with black
run: |
black --check src