maduck/GoWDiscordTeamBot

View on GitHub

Showing 280 of 280 total issues

Too few public methods (1/2)
Open

class Configurations:
Severity: Info
Found in configurations.py by pylint

Used when class has too few public methods, so be sure it's really worth it.

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 BasePreview:
Severity: Info
Found in graphic_base_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 render_team(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.

Missing module docstring
Open

import json
Severity: Info
Found in translations.py by pylint

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

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.

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

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

from search import _
Severity: Critical
Found in graphic_campaign_preview.py by pylint

Used when a syntax error is raised for a module.

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 module docstring
Open

import json
Severity: Info
Found in game_assets.py by pylint

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

Missing function or method docstring
Open

    def path(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 function or method docstring
Open

    def get(self, key, default=None):
Severity: Info
Found in configurations.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 (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 'humanize'
Open

import humanize
Severity: Critical
Found in translations.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 class docstring
Open

class GameAssets:
Severity: Info
Found in game_assets.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_search(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

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 e doesn't conform to snake_case naming style
Open

        except Exception as e:
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...).

Severity
Category
Status
Source
Language