Some checks failed
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Format / format (push) Has been cancelled
Lint / lint (push) Has been cancelled
Security / security (push) Has been cancelled
Test / test (3.10) (push) Has been cancelled
Test / test (3.11) (push) Has been cancelled
Test / test (3.12) (push) Has been cancelled
Test / test (3.8) (push) Has been cancelled
Test / test (3.9) (push) Has been cancelled
25 lines
496 B
YAML
25 lines
496 B
YAML
name: Format
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install formatters
|
|
run: |
|
|
pip install black isort
|
|
- name: Run black
|
|
run: |
|
|
black --check shellgen/ tests/
|
|
- name: Run isort
|
|
run: |
|
|
isort --check-only shellgen/ tests/
|