https://github.com/wikimedia/operations-puppet
Raw File
Tip revision: 34252c922b761a8f4d1debc21d784a835a58ed24 authored by Antoine Musso on 02 June 2017, 20:05:18 UTC
kibana: allow any arbitrary setting
Tip revision: 34252c9
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
back to top