Commit f6f41cc2 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

test: integrate flake8 into tox.ini and gitlab-ci

parent 3a7c4424914d
......@@ -23,6 +23,10 @@ black:
stage: tests
script: tox -e black
flake8:
stage: tests
script: tox -e flake8
trigger-other-pipelines:
only:
refs:
......
......@@ -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/*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment