maduck/GoWDiscordTeamBot

View on GitHub

Showing 280 of 280 total issues

Missing class docstring
Open

class HumanizeTranslator:
Severity: Info
Found in translations.py by pylint

Used when a class has no docstring.Even an empty class must have a docstring.

Missing function or method docstring
Open

    def render_soulforge_screen(self):
Severity: Info
Found in graphic_soulforge_preview.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 (112/100)
Open

            e.add_field(name='Error', value='You need to be server owner or administrator to use this command.')
Severity: Info
Found in discord_wrappers.py by pylint

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

Missing function or method docstring
Open

    def render_tasks(self):
Severity: Info
Found in graphic_campaign_preview.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 (111/100)
Open

                   '{"Effect": 2, "EffectData": 3067, "FileBase": "Pet_111", "Id": 13111, "KingdomId": 3023,' \
Severity: Info
Found in unittests.py by pylint

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

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

                y += box_height
Severity: Info
Found in graphic_campaign_preview.py by pylint

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

Missing module docstring
Open

import unittest
Severity: Info
Found in unittests.py by pylint

Used when a module has no docstring.Empty modules do not require a docstring.

Line too long (101/100)
Open

                   ' "LockedHelpText": "FACTION", "ManaColors": {"ColorYellow": true}, "Name": "",' \
Severity: Info
Found in unittests.py by pylint

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

Catching too general exception Exception
Open

            except Exception as e:
Severity: Minor
Found in bot_tasks.py by pylint

Used when an except catches a too general exception, possibly burying unrelated errors.

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

        with open(self.DEFAULTS_FILE) as f:
Severity: Info
Found in configurations.py by pylint

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

Line too long (102/100)
Open

            heading = f'{self.data["texts"]["dungeon"]} &\n{self.data["texts"]["kingdom_challenges"]}'
Severity: Info
Found in graphic_soulforge_preview.py by pylint

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

Unable to import 'discord'
Open

import discord
Severity: Critical
Found in discord_wrappers.py by pylint

Used when pylint has been unable to import a module.

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

            e = discord.Embed(title='Restricted Command', color=self.RED)
Severity: Info
Found in discord_wrappers.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 admin_required(function):
Severity: Info
Found in discord_wrappers.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 'wand.drawing'
Open

from wand.drawing import Drawing
Severity: Critical
Found in graphic_campaign_preview.py by pylint

Used when pylint has been unable to import a module.

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

            with open(self.CONFIG_FILE) as f:
Severity: Info
Found in configurations.py by pylint

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

Line too long (116/100)
Open

            kingdom = word_wrap(self.img, draw, self.data['kingdom'], kingdom_width + 10, int(1.5 * draw.font_size))
Severity: Info
Found in graphic_base_preview.py by pylint

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

Unable to import 'wand.color'
Open

from wand.color import Color
Severity: Critical
Found in graphic_base_preview.py by pylint

Used when pylint has been unable to import a module.

Line too long (101/100)
Open

            e.add_field(name='Error', value='Only the bot owner has permission to use this command.')
Severity: Info
Found in discord_wrappers.py by pylint

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

Missing function or method docstring
Open

def guild_required(function):
Severity: Info
Found in discord_wrappers.py by pylint

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

Severity
Category
Status
Source
Language