From 8dd5724c7628b23dbdcacd6f45c9a241e38b40b8 Mon Sep 17 00:00:00 2001 From: Lexi Date: Fri, 2 Feb 2024 22:57:55 -0500 Subject: [PATCH] more pylint fixing --- netkan/netkan/spacedock_adder.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/netkan/netkan/spacedock_adder.py b/netkan/netkan/spacedock_adder.py index 0ce4073..5160bb2 100644 --- a/netkan/netkan/spacedock_adder.py +++ b/netkan/netkan/spacedock_adder.py @@ -8,16 +8,15 @@ from typing import Dict, Deque, Any, List, Optional, Type, TYPE_CHECKING import git from ruamel.yaml import YAML +from github.Repository import Repository +from github.GitRelease import GitRelease +from github import Github from .cli.common import Game from .github_pr import GitHubPR from .mod_analyzer import ModAnalyzer from .queue_handler import BaseMessageHandler, QueueHandler from .repos import NetkanRepo -from github.Repository import Repository -from github.GitRelease import GitRelease -from github.GitReleaseAsset import GitReleaseAsset -from github import Github if TYPE_CHECKING: from mypy_boto3_sqs.service_resource import Message @@ -164,7 +163,7 @@ def get_github_repo(self, source_link: str) -> Optional[Repository]: else: return None - def make_github_netkan(self, ident: str, gh_repo: Repository, info: Dict[str, Any]) -> Optional[Dict[str, Any]]: + def make_github_netkan(self, ident: str, gh_repo: Repository, info: Dict[str, Any]) -> Optional[Dict[str, Any]]: # pylint: disable=too-many-locals mod: Optional[ModAnalyzer] = None props: Dict[str, Any] = {} releases = gh_repo.get_releases()