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
de409ef1ce48
Commit
f6f41cc2
authored
Jun 19, 2020
by
Laurent Peuch
Browse files
test: integrate flake8 into tox.ini and gitlab-ci
parent
3a7c4424914d
Changes
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
de409ef1
...
...
@@ -23,6 +23,10 @@ black:
stage
:
tests
script
:
tox -e black
flake8
:
stage
:
tests
script
:
tox -e flake8
trigger-other-pipelines
:
only
:
refs
:
...
...
tox.ini
View file @
de409ef1
...
...
@@ -41,3 +41,15 @@ skip_install = true
deps
=
black
>=
19.10b0
commands
=
black .
[testenv:flake8]
skip_install
=
true
deps
=
flake8
>=
3.6
commands
=
flake8
[flake8]
format
=
pylint
ignore
=
W503, E203, E731, E231
max-line-length
=
100
exclude
=
docs/*,.tox/*
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