bouquin/.forgejo/workflows/lint.yml
Miguel Jacq 8cd9538a50
All checks were successful
CI / test (push) Successful in 2m23s
Lint / test (push) Successful in 13s
Trivy / test (push) Successful in 20s
Add --diff and --check to black
2025-11-13 16:32:21 +11:00

25 lines
505 B
YAML

name: Lint
on:
push:
jobs:
test:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install system dependencies
run: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
black pyflakes3
- name: Run linters
run: |
black --diff --check bouquin/*
black --diff --check tests/*
pyflakes3 bouquin/*
pyflakes3 tests/*