Revision 2ea1a9799921ff284ad7a0989a94887005951214 authored by Riccardo Coccioli on 05 June 2017, 15:27:53 UTC, committed by Riccardo Coccioli on 05 June 2017, 15:27:53 UTC
Bug: T166962 Change-Id: I3a75502dfa40357dc1633a34af7353bc95892de6
1 parent 4b4bda0
tox.ini
[tox]
minversion = 1.6
skipsdist = True
envlist = py27, pep8
[flake8]
max-line-length = 100
# E123/E133, E226 and E241/E242 are default ignores
# E402: module level import not at top of file
# W503: ignore operators after line break until pep8 is upgraded
ignore = E123,E133,E226,E241,E242,E402,W503
# Upstream files that don't pass flake8 but should not be locally modified
# jupyterhub_config.py/nchp_config.py are config files & hence won't pass pep8
exclude = modules/letsencrypt/files/acme_tiny.py,modules/varnish/files/varnishapi.py,modules/postgresql/files/check_postgres_replication_lag.py,modules/jupyterhub/files/jupyterhub_config.py,modules/jupyterhub/files/nchp_config.py
[testenv]
deps =
nose
-rmodules/admin/data/requirements.txt
commands = nosetests modules/admin/data modules/mediawiki/files/apache/sites/redirects
[testenv:pep8]
deps = flake8==2.5.5
commands = flake8
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...