25 lines
475 B
YAML
25 lines
475 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 bouquin/*
|
|
black tests/*
|
|
pyflakes3 bouquin/*
|
|
pyflakes3 tests/*
|