mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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:
|
||||
- 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:
|
||||
stage: test
|
||||
needs: []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user