Added Makefile, pre-commit. Also update for 1.5.0

This patch Adds the Makefile for setting up a dev environment
as well as fixing the plugin for the 1.5.0 release of aprsd.
This commit is contained in:
2021-01-12 16:00:18 -05:00
parent 2a7167745b
commit 36b2eff71c
14 changed files with 132 additions and 20 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ from aprsd_slack_plugin import aprsd_slack_plugin as slack_plugin
if sys.version_info >= (3, 2):
from unittest import mock
else:
import mock
from unittest import mock
class TestPlugin(unittest.TestCase):
@@ -15,7 +15,7 @@ class TestPlugin(unittest.TestCase):
mock_command.return_value = ""
config = {
"slack": {"signing_secret": "something", "bot_token": "sometoken", "channel": "hemna"}
"slack": {"signing_secret": "something", "bot_token": "sometoken", "channel": "hemna"},
}
p = slack_plugin.SlackCommandPlugin(config)