mypy can be run via gitlab-runner
gitlab-runner exec docker static
This commit is contained in:
parent
b24dd7cfe4
commit
d0a5b7ed54
2 changed files with 17 additions and 0 deletions
12
.gitlab-ci.yml
Normal file
12
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
image: python:3.7
|
||||
|
||||
stages:
|
||||
- static
|
||||
- test
|
||||
|
||||
static:
|
||||
stage: static
|
||||
before_script:
|
||||
- pip install mypy
|
||||
script:
|
||||
- mypy techrec
|
|
@ -1,3 +1,8 @@
|
|||
[flake8]
|
||||
max-line-length=89
|
||||
ignore=D
|
||||
|
||||
[mypy]
|
||||
show_error_codes = True
|
||||
python_version = 3.7
|
||||
pretty = True
|
||||
|
|
Loading…
Reference in a new issue