mypy can be run via gitlab-runner

gitlab-runner exec docker static
This commit is contained in:
boyska 2021-09-28 23:49:22 +02:00
parent b24dd7cfe4
commit d0a5b7ed54
2 changed files with 17 additions and 0 deletions

12
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,12 @@
image: python:3.7
stages:
- static
- test
static:
stage: static
before_script:
- pip install mypy
script:
- mypy techrec

View file

@ -1,3 +1,8 @@
[flake8] [flake8]
max-line-length=89 max-line-length=89
ignore=D ignore=D
[mypy]
show_error_codes = True
python_version = 3.7
pretty = True