InvokeAI/.github/workflows/style-checks.yml
2023-08-18 15:52:04 +10:00

28 lines
527 B
YAML

name: style checks
# just formatting and flake8 for now
# TODO: add isort later
on:
pull_request:
push:
branches: main
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies with pip
run: |
pip install black flake8 Flake8-pyproject
# - run: isort --check-only .
- run: black --check .
- run: flake8