maduck/GoWDiscordTeamBot

View on GitHub

Showing 280 of 280 total issues

Missing function or method docstring
Open

    def send(self, *args, **kwargs):
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

    def type(self):
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

TODO adapt to something more strict, maybe this?
Open

        # TODO adapt to something more strict, maybe this?
Severity: Minor
Found in command_registry.py by pylint

Used when a warning note as FIXME or XXX is detected.

Line too long (107/100)
Open

                return await add_slash_command(bot_id, bot_token, guild_id, cmd_name, description, options)
Severity: Info
Found in command_registry.py by pylint

Used when a line is longer than a given number of characters.

Argument name t doesn't conform to snake_case naming style
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Missing function or method docstring
Open

    def name(self):
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

def extract_lore(raw_data):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

def get_first_battles(raw_data):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Consider iterating the dictionary directly instead of calling .keys()
Open

                    for k in PetRescueConfig.DEFAULT_CONFIG.keys()
Severity: Info
Found in command_registry.py by pylint

Emitted when the keys of a dictionary are iterated through the .keys() method. It is enough to just iterate through the dictionary itself, as in for key in dictionary.

Variable name x doesn't conform to snake_case naming style
Open

                x = 3 / 4 * lerp(x, x, t) + 250
Severity: Info
Found in graphic_map.py by pylint

Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

Missing function or method docstring
Open

def transform_battle(battle):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Line too long (102/100)
Open

                    + r'(?P<prefix>.)tower (?P<floor>\d+) (?P<scroll_ii>[^ ]+) (?P<scroll_iii>[^ ]+) '
Severity: Info
Found in command_registry.py by pylint

Used when a line is longer than a given number of characters.

Line too long (120/100)
Open

            f'{DEFAULT_PATTERN}toplist update (?P<toplist_id>[a-zA-Z0-9]+) (?P<description>[^,]+)? (?P<items>(.+,?)+)$',
Severity: Info
Found in command_registry.py by pylint

Used when a line is longer than a given number of characters.

Missing function or method docstring
Open

    def render_map(self):
Severity: Info
Found in graphic_map.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Unnecessary pass statement
Open

        pass
Severity: Minor
Found in discord_fake_classes.py by pylint

Used when a pass statement that can be avoided is encountered.

Missing function or method docstring
Open

def extract_name(raw_data):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Missing function or method docstring
Open

def extract_currencies(raw_data):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Unable to import 'aiohttp'
Open

import aiohttp
Severity: Critical
Found in command_registry.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

Line too long (101/100)
Open

    def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
Severity: Info
Found in discord_fake_classes.py by pylint

Used when a line is longer than a given number of characters.

Severity
Category
Status
Source
Language