Add pylint/mypy
Some checks failed
Flake8 / build (3.11) (push) Successful in 7s
Mypy / build (3.11) (push) Failing after 38s
Pylint / build (3.11) (push) Failing after 17s

This commit is contained in:
Ruben van Staveren 2025-03-14 12:12:28 +01:00
parent 5c8cd6c00f
commit 221a7c2de2
Signed by: ruben
GPG Key ID: 886F6BECD477A93F
2 changed files with 34 additions and 0 deletions

17
.gitea/workflows/mypy.yml Normal file
View File

@ -0,0 +1,17 @@
---
name: Mypy
on: [push]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Analyse code with Mypy
run: |
mypy $(git ls-files '*.py')

View File

@ -0,0 +1,17 @@
---
name: Pylint
on: [push]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Analyse code with Pylint
run: |
pylint $(git ls-files '*.py')