maduck/GoWDiscordTeamBot

View on GitHub

Showing 281 of 281 total issues

Missing function or method docstring
Open

async def task_check_for_news(discord_client):
Severity: Info
Found in bot_tasks.py by pylint

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

invalid syntax (<unknown>, line 315)</unknown>
Open

        if unlock_rooms := [
Severity: Critical
Found in tower_data.py by pylint

Used when a syntax error is raised for a module.

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 (16/15)
Open

    def render_farming(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 save_image(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 (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 module docstring
Open

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

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

Missing class docstring
Open

class CampaignPreview(BasePreview):
Severity: Info
Found in graphic_campaign_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 exists(filename):
Severity: Info
Found in game_assets.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

                   ' "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.

Cannot import 'jobs.status_reporter' due to syntax error 'invalid syntax (<unknown>, line 47)'</unknown>
Open

from jobs.status_reporter import StatusReporter
Severity: Critical
Found in bot_tasks.py by pylint

Used when a syntax error is raised for a module.

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

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.

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

            x = self.img.width - kingdom_width // 2 - 15
Severity: Info
Found in graphic_base_preview.py by pylint

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

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.

Line too long (116/100)
Open

                center = left + 300 - hypotenuse * math.sin(rad_angle), top + 350 - hypotenuse * math.cos(rad_angle)
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.

Too many local variables (18/15)
Open

    def render_tasks(self):
Severity: Info
Found in graphic_campaign_preview.py by pylint

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

Missing function or method docstring
Open

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

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

            y = self.img.height - 60
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...).

Severity
Category
Status
Source
Language