diff --git a/src/sammich/plugins/project.py b/src/sammich/plugins/project.py index 85d163f..6e727e8 100644 --- a/src/sammich/plugins/project.py +++ b/src/sammich/plugins/project.py @@ -8,7 +8,9 @@ class ProjectPlugin(MachineBasePlugin): - def __init__(self, client: SlackClient, settings: CaseInsensitiveDict, storage: PluginStorage): + def __init__( + self, client: SlackClient, settings: CaseInsensitiveDict, storage: PluginStorage + ): super().__init__(client, settings, storage) with open("data/projects.json") as f: self.project_data = json.load(f) diff --git a/src/sammich/plugins/repo.py b/src/sammich/plugins/repo.py index d01357c..651a498 100644 --- a/src/sammich/plugins/repo.py +++ b/src/sammich/plugins/repo.py @@ -9,7 +9,9 @@ class RepoPlugin(MachineBasePlugin): - def __init__(self, client: SlackClient, settings: CaseInsensitiveDict, storage: PluginStorage): + def __init__( + self, client: SlackClient, settings: CaseInsensitiveDict, storage: PluginStorage + ): super().__init__(client, settings, storage) with open("data/repos.json") as f: self.repo_data = json.load(f) @@ -22,9 +24,7 @@ async def repo(self, command): repos = self.repo_data.get(tech_name) if repos: repos_list = "\n".join(repos) - message = ( - f"Hello, you can implement your '{tech_name}' knowledge here:\n{repos_list}" - ) + message = f"Hello, you can implement your '{tech_name}' knowledge here:\n{repos_list}" await command.say(message) else: fallback_message = "Available technologies:"