diff options
author | ansible-zuul[bot] <48994755+ansible-zuul[bot]@users.noreply.github.com> | 2019-08-09 19:32:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 19:32:29 +0000 |
commit | f5ff7de6e0a4bb98019d7cf0c83518b593495dcc (patch) | |
tree | 71378646561c136f5a8ab5da4edfc064b23f51eb /tox.ini | |
parent | 66a01fb3cdcedff9205b2295870a7e1629bbae69 (diff) | |
parent | c841cad0ea6013aab5a0c5620d3b40d72ef5afc0 (diff) | |
download | vyos.vyos-f5ff7de6e0a4bb98019d7cf0c83518b593495dcc.tar.gz vyos.vyos-f5ff7de6e0a4bb98019d7cf0c83518b593495dcc.zip |
Merge pull request #9 from pabelanger/temp/tox
Add tox.ini file
Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..87f00fac --- /dev/null +++ b/tox.ini @@ -0,0 +1,23 @@ +[tox] +minversion = 1.4.2 +envlist = linters +skipsdist = True + +[testenv] +deps = -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +[testenv:linters] +install_command = pip install {opts} {packages} +commands = + black -v -l79 --check {toxinidir} + flake8 {posargs} + +[flake8] +# E123, E125 skipped as they are invalid PEP-8. + +show-source = True +ignore = E123,E125,E402,W503 +max-line-length = 160 +builtins = _ +exclude = .git,.tox |