ci: run mypy + ruff check

This commit is contained in:
Daniel Eklöf 2025-12-26 13:15:01 +01:00
parent bbebe0f330
commit 6ab2e2d9eb
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -17,6 +17,24 @@ steps:
- codespell -Lser,doas,zar,rin README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
- deactivate
- name: mypy
when:
- event: [manual, pull_request]
- event: [push, tag]
branch: [master, releases/*]
image: alpine:edge
commands:
- apk add openssl
- apk add python3
- apk add py3-pip
- python3 -m venv mypy-venv
- source mypy-venv/bin/activate
- pip install mypy
- pip install ruff
- mypy
- ruff check
- deactivate
- name: subprojects
when:
- event: [manual, pull_request]