Skip to content

Add E4 rules to ruff #6

Add E4 rules to ruff

Add E4 rules to ruff #6

Workflow file for this run

name: Verify formatting
on:
push:
branches: master
pull_request:
jobs:
ruff:
runs-on: ubuntu-latest
name: Verify Python formatting
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v2
with:
args: "format --check"
djlint:
runs-on: ubuntu-latest
name: Check HTML formatting
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install -U pip
pip install djlint
- name: Format HTML
run: djlint . --check