mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
ci: Add mypy static type check
Allow failures for now, until the existing issues are fixed. Closes: #2129. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
d45c6e8c90
commit
949f6ce353
@ -18,6 +18,16 @@ code-quality:
|
|||||||
script:
|
script:
|
||||||
- python3 -m flake8 container plinth actions/*
|
- python3 -m flake8 container plinth actions/*
|
||||||
|
|
||||||
|
static-type-check:
|
||||||
|
stage: test
|
||||||
|
allow_failure: true
|
||||||
|
needs: []
|
||||||
|
before_script:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y mypy
|
||||||
|
script:
|
||||||
|
- mypy --ignore-missing-imports .
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
stage: test
|
stage: test
|
||||||
needs: []
|
needs: []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user