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

5
.gitignore vendored
View file

@ -4,4 +4,7 @@
/build/**
*.log
env
.tox
.tox
*.un~
0/
tests/.cache

View file

@ -19,7 +19,7 @@ def parse_args():
# load args with config path
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)
try:
bot.start()

View file

@ -20,4 +20,4 @@ basepython =
[testenv:flake8]
basepython=python
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