irc-meetings/tox.ini
John L. Villalovos ffa7d55448 Setup a tox pep8 check and update test-requirements.txt
Add a tox pep8 check.
Fix PEP8 error in tools/list_ptls.py

Update test-requirements.txt for libraries used.

Change-Id: I179036ebbce555586a711677f45337b364d4847f
2016-05-20 11:04:59 -07:00

40 lines
832 B
INI

[tox]
envlist = ical,pep8
minversion = 1.6
skipsdist = True
[testenv]
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:ical]
whitelist_externals = mkdir
commands =
mkdir -p output/calendars
yaml2ical -n "OpenStack Meetings" \
-d "Meeting schedule for the OpenStack projects" \
-y meetings -o output/irc-meetings.ical \
-t meetingindex.jinja -w output/index.html -f
yaml2ical -y meetings -i output/calendars/ -f
[testenv:check]
commands =
python tools/check_channels.py -y meetings
[testenv:pep8]
whitelist_externals = bash
commands =
bash test_tools/flake8wrap.sh {posargs}
[flake8]
ignore =
exclude = .git,.tox
max-complexity = 14
[hacking]
import_exceptions =