Skip to content

Enforce order of Vue SFC #132

Enforce order of Vue SFC

Enforce order of Vue SFC #132

name: pr_backend_formatting_check
on:
pull_request_target:
branches:
- main
types: [opened, reopened, synchronize]
workflow_run:
workflows: [pr_maintainer_checklist]
types:
- completed
jobs:
python:
name: Run PR Backend Formatting Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Black
uses: psf/black@stable
with:
options: --check --verbose --exclude "migrations/"
src: ./backend
- name: Run ruff
run: ruff ./backend