Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
f52b92cc9a50
Commit
5f04873f
authored
Jun 19, 2020
by
Laurent Peuch
Browse files
test: integrate mypy into tox.ini and gitlab-ci
parent
622a40c8836d
Pipeline
#9154
failed with stages
in 1 minute and 4 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f52b92cc
...
...
@@ -27,6 +27,10 @@ flake8:
stage
:
tests
script
:
tox -e flake8
mypy
:
stage
:
tests
script
:
tox -e mypy
trigger-other-pipelines
:
only
:
refs
:
...
...
tox.ini
View file @
f52b92cc
[tox]
envlist
=
py3,check-manifest,black
envlist
=
py3,check-manifest,black
,mypy
[testenv]
deps
=
...
...
@@ -53,3 +53,8 @@ format = pylint
ignore
=
W503, E203, E731, E231
max-line-length
=
100
exclude
=
docs/*,.tox/*
[testenv:mypy]
deps
=
mypy
>=
0.761
commands
=
mypy --ignore-missing-imports logilab/mtconverter/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment