Too many local variables (18/15) Open
def render_team(self):
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Too many local variables (18/15) Open
def render_tasks(self):
- Read upRead up
- Exclude checks
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 _
- Read upRead up
- Exclude checks
Used when a syntax error is raised for a module.
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.
Useless super delegation in method '__init__' Open
def __init__(self, data):
- Read upRead up
- Exclude checks
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.
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.
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 io
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
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.
Variable name y
doesn't conform to snake_case naming style Open
y = 350
- 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 render_team(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.
Missing function or method docstring Open
def render_campaign_name(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.
Missing class docstring Open
class CampaignPreview(BasePreview):
- Read upRead up
- Exclude checks
Used when a class has no docstring.Even an empty class must have a docstring.
Line too long (144/100) Open
skip_costs = f'{_("[SKIP_TASK]", self.data["lang"])}: {self.data["task_skip_costs"][category]} {_("[GEMS]", self.data["lang"])}'
- 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 = 500
- Read upRead up
- Exclude checks
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 - width - 25
- 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 save_image(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.
Missing function or method docstring Open
def render_all(result):
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
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 = 50
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Variable name y
doesn't conform to snake_case naming style Open
y = self.img.height - 60
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).