Adding start rtmbot to tox.ini for linting

Also updating gitignore to ignore some stuff on my machine.
This commit is contained in:
Jeff Ammons 2016-04-17 18:21:04 -07:00
parent a0fdba13b4
commit 7d718fe54f
3 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View file

@ -5,3 +5,6 @@
*.log *.log
env env
.tox .tox
*.un~
0/
tests/.cache

View file

@ -19,7 +19,7 @@ def parse_args():
# load args with config path # load args with config path
args = parse_args() args = parse_args()
config = yaml.load(file(args.config or 'rtmbot.conf', 'r')) config = yaml.load(open(args.config or 'rtmbot.conf', 'r'))
bot = RtmBot(config) bot = RtmBot(config)
try: try:
bot.start() bot.start()

View file

@ -20,4 +20,4 @@ basepython =
[testenv:flake8] [testenv:flake8]
basepython=python basepython=python
deps=flake8 deps=flake8
commands=flake8 {toxinidir}/rtmbot/core.py {toxinidir}/doc/example-plugins commands=flake8 {toxinidir}/start_rtmbot.py {toxinidir}/rtmbot/core.py {toxinidir}/setup.py {toxinidir}/doc/example-plugins