Showing 280 of 280 total issues
Too few public methods (1/2) Open
class Configurations:
- Read upRead up
- Exclude checks
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"]}'
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Missing class docstring Open
class BasePreview:
- 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_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 module docstring Open
import json
- 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_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 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.
Missing function or method docstring Open
def test_class(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.
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.
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.
Missing module docstring Open
import json
- 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 path(filename):
- 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 get(self, key, default=None):
- 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 (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 'humanize' Open
import humanize
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Too many local variables (25/15) Open
def render_soulforge_screen(self):
- Read upRead up
- Exclude checks
Used when a function or method has too many local variables.
Missing class docstring Open
class GameAssets:
- 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 test_search(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
async def task_update_pet_rescues(discord_client):
- 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 e
doesn't conform to snake_case naming style Open
except Exception as e:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).