ci(gitlab-ci): use templates from a common repository

6 jobs for branch/default in 2 minutes (queued for 6 seconds)
Status Name Job ID Coverage
  Lint
passed black #350058

00:00:25

passed check-manifest #350059

00:00:22

passed flake8 #350057

00:00:26

failed mypy #350060
allowed to fail

00:00:54

passed yamllint #350061

00:00:24

 
  Tests
passed py3 #350062

00:01:04

 
Name Stage Failure
failed
mypy Lint
cubicweb_prometheus/__pkginfo__.py:18: error: Need type annotation for "__recommends__" (hint: "__recommends__: Dict[<type>, <type>] = ...")
cubicweb_prometheus/views.py:51: error: Need type annotation for "PD_METRICS" (hint: "PD_METRICS: Dict[<type>, <type>] = ...")
cubicweb_prometheus/views.py:52: error: Need type annotation for "CW_METRICS" (hint: "CW_METRICS: Dict[<type>, <type>] = ...")
Found 3 errors in 2 files (checked 3 source files)
ERROR: InvocationError for command /builds/cubicweb/cubes/prometheus/.tox/mypy/bin/mypy --ignore-missing-imports cubicweb_prometheus (exited with code 1)
___________________________________ summary ____________________________________
ERROR: mypy: commands failed
Cleaning up file based variables
ERROR: Job failed: command terminated with exit code 1