mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
ci: run mypy + ruff check
This commit is contained in:
parent
bbebe0f330
commit
6ab2e2d9eb
1 changed files with 18 additions and 0 deletions
|
|
@ -17,6 +17,24 @@ steps:
|
||||||
- codespell -Lser,doas,zar,rin README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
|
- codespell -Lser,doas,zar,rin README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
|
||||||
- deactivate
|
- 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
|
- name: subprojects
|
||||||
when:
|
when:
|
||||||
- event: [manual, pull_request]
|
- event: [manual, pull_request]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue