Skip to content

Fix checks

Fix checks #4

Workflow file for this run

name: On pull request
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "docs/**"
- ".github/**"
env:
DEFAULT_PYTHON: 3.11
jobs:
python_checks:
runs-on: ubuntu-latest
name: Python Checks
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
uses: actions/[email protected]
with:
python-version: ${{ env.DEFAULT_PYTHON }}
- name: Install requirements
run: |
python3 -m pip install -U pip
python3 -m pip install ruff
- name: Check formatting
run: |
ruff format --check --diff detector test *.py
- name: Check lint
run: |

Check failure on line 36 in .github/workflows/checks.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/checks.yaml

Invalid workflow file

You have an error in your yaml syntax on line 36
ruff check frigate migrations docker *.py