Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
Too few public methods (0/2) Open
class FakeMessage:
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Too many arguments (7/5) Open
def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
- Read upRead up
- Exclude checks
Used when a function or method takes too many arguments.
Redefining built-in 'type' Open
async def __aexit__(self, type, value, traceback):
- Read upRead up
- Exclude checks
Used when a variable or function override a built-in.
Unnecessary pass statement Open
pass
- Read upRead up
- Exclude checks
Used when a pass
statement that can be avoided is encountered.
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 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.
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.
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.
Missing module docstring Open
class FakeMessage:
- Read upRead up
- Exclude checks
Used when a module has no docstring.Empty modules do not require a docstring.
Missing class docstring Open
class FakeChannel:
- Read upRead up
- Exclude checks
Used when a class has no docstring.Even an empty class must have a docstring.
Missing class docstring Open
class FakeTyping:
- Read upRead up
- Exclude checks
Used when a class has no docstring.Even an empty class must have a docstring.
Missing class docstring Open
class FakeMessage:
- 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 id(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.
Attribute name id
doesn't conform to snake_case naming style Open
def id(self):
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).