becdd4b1eb
Add an IRC channel config file with some stub access information for a few channels. A new tool can read this file and verify that openstackinfra has founder access on all the channels listed in the file. Run a job on changes to that file to verify that access is correct. Later, other tools (like statusbot or gerritbot) may read that file directly to determine which channels to join. Or we can at least add checks that all channels referenced by another tool (like eavesdrop) are also listed in this file. Related-Bug: 1190296 Change-Id: I38440e745402af5bbc3f0d0cc04a150c0a4bb47c
26 lines
481 B
INI
26 lines
481 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands = flake8
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:irc]
|
|
deps = PyYAML
|
|
irc
|
|
commands = python modules/openstack_project/files/irc/checkaccess.py -l modules/openstack_project/files/irc/channels.yaml openstackinfra
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox
|
|
ignore = E125,H
|