Skip to content
# Generated with pipelinit 0.4.0
# https://pipelinit.com/
name: Format Python
on:
pull_request:
paths:
- "**.py"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.11.4"
- run: python -m pip install pip isort
- run: python -m pip install pip black
- run: black . --check
- run: isort . -c