maduck/GoWDiscordTeamBot

View on GitHub

Showing 281 of 281 total issues

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.

Missing function or method docstring
Open

def scale_down(width, height, max_size):
Severity: Info
Found in graphic_base_preview.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.color'
Open

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

Used when pylint has been unable to import a module.

Too many local variables (25/15)
Open

    def render_soulforge_screen(self):
Severity: Info
Found in graphic_soulforge_preview.py by pylint

Used when a function or method has too many local variables.

Missing function or method docstring
Open

    def render_affixes(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.

Too many local variables (28/15)
Open

    def render_affixes(self):
Severity: Info
Found in graphic_soulforge_preview.py by pylint

Used when a function or method has too many local variables.

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

            e = discord.Embed(title='Owner 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...).

Useless super delegation in method '__init__'
Open

    def __init__(self, data):
Severity: Minor
Found in graphic_campaign_preview.py by pylint

Used whenever we can detect that an overridden method is useless, relying on super() delegation to do the same thing as another method from the MRO.

Missing function or method docstring
Open

    def test_class(self):
Severity: Info
Found in unittests.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 test_id(self):
Severity: Info
Found in unittests.py by pylint

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

Too many statements (79/50)
Open

    def render_soulforge_screen(self):
Severity: Info
Found in graphic_soulforge_preview.py by pylint

Used when a function or method has too many statements. You should then split it in smaller functions / methods.

Missing function or method docstring
Open

    def render_farming(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.

Missing function or method docstring
Open

def render_all(result):
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.

Missing function or method docstring
Open

def owner_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.

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

        x = 50 if self.data['team'] else padding
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...).

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...).

Unable to import 'wand.drawing'
Open

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

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

    def draw_watermark(self):
Severity: Info
Found in graphic_base_preview.py by pylint

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

Missing class docstring
Open

class WeeklyPreview(BasePreview):
Severity: Info
Found in graphic_soulforge_preview.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 test_reference_name_replacement(self):
Severity: Info
Found in unittests.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