Spaces:
Sleeping

ml-api / .github /workflows /python-lint.yml
Eric Dyke
FastAPI ML API for Spaceship Titanic and Digit Recognition
0de3c15
Raw History Blame Contribute Delete
574 Bytes
name: Python Lint
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Black
run: python -m pip install black==26.1.0
- name: Run Black
run: black --check .