Skip to content

Commit

Permalink
more pylint fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
cheese3660 committed Feb 3, 2024
1 parent 32ceaa4 commit 8dd5724
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions netkan/netkan/spacedock_adder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 8dd5724

Please sign in to comment.