[tox] envlist = ical,pep8 minversion = 3 [testenv] setenv = VIRTUAL_ENV={envdir} deps = -r{toxinidir}/test-requirements.txt [testenv:venv] commands = {posargs} [testenv:ical] allowlist_externals = mkdir ln commands = mkdir -p doc/build/html/calendars yaml2ical -n "OpenStack Meetings" \ -d "Meeting schedule for the OpenStack projects" \ -y meetings -o doc/build/html/irc-meetings.ical \ -t meetingindex.jinja -w doc/build/html/index.html -f yaml2ical -y meetings -i doc/build/html/calendars/ -f # NOTE(ianw) 2021-06-02 : to maintain compatbility # with old jobs that aren't using the default tox docs # publishing methods, we symlink ./output ln -sf ./doc/build/html/ output [testenv:pep8] allowlist_externals = bash commands = bash test_tools/flake8wrap.sh {posargs} python tools/check_chair.py -y {toxinidir}/meetings python tools/check_channels.py -y {toxinidir}/meetings [flake8] ignore = exclude = .git,.tox max-complexity = 14 [hacking] import_exceptions =