From 65260f66e6e7d3a9bff8b19c4a498643d2e664aa Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Wed, 27 Jan 2021 16:58:53 +0530 Subject: Fix return type annotations --- bot/exts/evergreen/issues.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/exts/evergreen/issues.py') diff --git a/bot/exts/evergreen/issues.py b/bot/exts/evergreen/issues.py index 4ab3df2c..8b02e874 100644 --- a/bot/exts/evergreen/issues.py +++ b/bot/exts/evergreen/issues.py @@ -26,7 +26,7 @@ if GITHUB_TOKEN := Tokens.github: WHITELISTED_CATEGORIES = ( Categories.devprojects, Categories.media, Categories.development ) -WHITELISTED_CHANNELS += (Channels.organisation) +WHITELISTED_CHANNELS += Channels.organisation CODE_BLOCK_RE = re.compile( r"^`([^`\n]+)`" # Inline codeblock @@ -78,7 +78,7 @@ class Issues(commands.Cog): numbers: set, repository: str, user: str - ) -> t.Union[str, list]: + ) -> t.Union[FetchIssueErrors, str, list]: """Retrieve issue(s) from a GitHub repository.""" links = [] if not numbers: -- cgit v1.2.3