maduck/GoWDiscordTeamBot

View on GitHub

Showing 280 of 280 total issues

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

        e = discord_client.views.render_pet_rescue(rescue)
Severity: Info
Found in bot_tasks.py by pylint

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

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

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.

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.

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

Missing function or method docstring
Open

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

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.

Missing function or method docstring
Open

async def task_update_pet_rescues(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.

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

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.

Cannot import 'search' due to syntax error 'invalid syntax (<unknown>, line 108)'</unknown>
Open

from search import TeamExpander, update_translations
Severity: Critical
Found in bot_tasks.py by pylint

Used when a syntax error is raised for a module.

Missing function or method docstring
Open

async def task_check_for_data_updates(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.

Unable to import 'wand.image'
Open

from wand.image import Image
Severity: Critical
Found in graphic_base_preview.py by pylint

Used when pylint has been unable to import a module.

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

        r = requests.get(url)
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.

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

        if ban := Ban.get(guild.id):
Severity: Critical
Found in bot.py by pylint

Used when a syntax error is raised for a module.

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.

Severity
Category
Status
Source
Language