maduck/GoWDiscordTeamBot

View on GitHub
discord_fake_classes.py

Summary

Maintainability
A
45 mins
Test Coverage

Function __init__ has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def __init__(self, author, guild, channel, content, interaction_id=None, interaction_token=None):
Severity: Minor
Found in discord_fake_classes.py - About 45 mins to fix

    Too few public methods (0/2)
    Open

    class FakeMessage:
    Severity: Info
    Found in discord_fake_classes.py by pylint

    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):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a function or method takes too many arguments.

    Redefining built-in 'type'
    Open

        async def __aexit__(self, type, value, traceback):
    Severity: Minor
    Found in discord_fake_classes.py by pylint

    Used when a variable or function override a built-in.

    Unnecessary pass statement
    Open

            pass
    Severity: Minor
    Found in discord_fake_classes.py by pylint

    Used when a pass statement that can be avoided is encountered.

    Unnecessary pass statement
    Open

            pass
    Severity: Minor
    Found in discord_fake_classes.py by pylint

    Used when a pass statement that can be avoided is encountered.

    Missing function or method docstring
    Open

        def send(self, *args, **kwargs):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    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):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    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):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    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):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a line is longer than a given number of characters.

    Missing module docstring
    Open

    class FakeMessage:
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a module has no docstring.Empty modules do not require a docstring.

    Missing class docstring
    Open

    class FakeChannel:
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a class has no docstring.Even an empty class must have a docstring.

    Missing class docstring
    Open

    class FakeTyping:
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a class has no docstring.Even an empty class must have a docstring.

    Missing class docstring
    Open

    class FakeMessage:
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when a class has no docstring.Even an empty class must have a docstring.

    Missing function or method docstring
    Open

        def id(self):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    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):
    Severity: Info
    Found in discord_fake_classes.py by pylint

    Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).

    There are no issues that match your filters.

    Category
    Status