irc-meetings/tox.ini
Tony Breeds ecf5f08660 Remove the check target
Move checking channels from the check target into pep8.  The general
idea is that pep8 will be for style and linting type checks and ical
will be for generating iCal files and HTML.

Change-Id: I14648e39132369d4d4c865ca835a020f62a5c978
Depends-On: I7ddfa03606aa750308e2e8c6b9c77e9f226bead1
2016-07-27 22:32:29 +00:00

38 lines
850 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:pep8]
whitelist_externals = bash
commands =
bash test_tools/flake8wrap.sh {posargs}
python tools/check_chair.py -y {toxinidir}
python tools/check_channels.py -y {toxinidir}
[flake8]
ignore =
exclude = .git,.tox
max-complexity = 14
[hacking]
import_exceptions =