Showing 280 of 280 total issues
Missing class docstring Open
class HumanizeTranslator:
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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.')
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing function or method docstring Open
def render_tasks(self):
- Read upRead up
- Exclude checks
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,' \
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing module docstring Open
import unittest
- Read upRead up
- Exclude checks
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": "",' \
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Catching too general exception Exception Open
except Exception as e:
- Read upRead up
- Exclude checks
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:
- Read upRead up
- Exclude checks
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"]}'
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Unable to import 'discord' Open
import discord
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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):
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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:
- Read upRead up
- Exclude checks
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))
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Unable to import 'wand.color' Open
from wand.color import Color
- Read upRead up
- Exclude checks
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.')
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing function or method docstring Open
def guild_required(function):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.