Showing 280 of 280 total issues
Missing function or method docstring Open
def send(self, *args, **kwargs):
- 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 type(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.
TODO adapt to something more strict, maybe this? Open
# TODO adapt to something more strict, maybe this?
- Read upRead up
- Exclude checks
Used when a warning note as FIXME or XXX is detected.
Line too long (107/100) Open
return await add_slash_command(bot_id, bot_token, guild_id, cmd_name, description, options)
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Argument name t
doesn't conform to snake_case naming style Open
def lerp(a, b, t):
- 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 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 extract_lore(raw_data):
- 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_first_battles(raw_data):
- Read upRead up
- Exclude checks
Used when a function or method has no docstring.Some special methods like init do not require a docstring.
Consider iterating the dictionary directly instead of calling .keys() Open
for k in PetRescueConfig.DEFAULT_CONFIG.keys()
- Read upRead up
- Exclude checks
Emitted when the keys of a dictionary are iterated through the .keys() method. It is enough to just iterate through the dictionary itself, as in for key in dictionary
.
Variable name x
doesn't conform to snake_case naming style Open
x = 3 / 4 * lerp(x, x, t) + 250
- 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 transform_battle(battle):
- 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 (102/100) Open
+ r'(?P<prefix>.)tower (?P<floor>\d+) (?P<scroll_ii>[^ ]+) (?P<scroll_iii>[^ ]+) '
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.
Line too long (120/100) Open
f'{DEFAULT_PATTERN}toplist update (?P<toplist_id>[a-zA-Z0-9]+) (?P<description>[^,]+)? (?P<items>(.+,?)+)$',
- 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_map(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.
Unnecessary pass statement Open
pass
- Read upRead up
- Exclude checks
Used when a pass
statement that can be avoided is encountered.
Missing function or method docstring Open
def extract_name(raw_data):
- 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 extract_currencies(raw_data):
- 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 'aiohttp' Open
import aiohttp
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Missing function or method docstring Open
def lerp(a, b, t):
- 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 (101/100) Open
def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
- Read upRead up
- Exclude checks
Used when a line is longer than a given number of characters.