InvokeAI/.github/workflows/style-checks.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
505 B
YAML
Raw Normal View History

name: style checks
# just formatting for now
# TODO: add isort and flake8 later
2023-07-21 14:14:31 +00:00
on:
pull_request:
2023-07-21 14:14:31 +00:00
push:
branches: main
2023-07-21 14:14:31 +00:00
jobs:
black:
2023-07-21 14:14:31 +00:00
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
2023-07-21 14:14:31 +00:00
# - run: isort --check-only .
- run: black --check .
# - run: flake8