Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit d346225

Browse files
authored
Merge pull request #69 from jammons/master
Fix flake8 files to run.
2 parents 92357ed + 33d5580 commit d346225

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

docs/example-plugins/canary.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ def canary():
99
# NOTE: you must add a real channel ID for this to work
1010
outputs.append(["D12345678", "bot started: " + str(time.time())])
1111

12+
1213
canary()

rtmbot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
from .core import *
1+
from .core import * # noqa: F403, F401

rtmbot/bin/run_rtmbot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ def main(args=None):
3232
except KeyboardInterrupt:
3333
sys.exit(0)
3434

35+
3536
if __name__ == "__main__":
3637
main()

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ basepython=python
2727
deps=flake8
2828
commands=
2929
flake8 \
30-
{toxinidir}/rtmbot.py \
31-
{toxinidir}/rtmbot/core.py \
30+
{toxinidir}/rtmbot \
3231
{toxinidir}/setup.py \
3332
{toxinidir}/docs/example-plugins

0 commit comments

Comments
 (0)