Add version info. Add linter
This commit is contained in:
parent
c191d9f35c
commit
d338033333
7 changed files with 67 additions and 0 deletions
25
.forgejo/workflows/lint.yml
Normal file
25
.forgejo/workflows/lint.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue