maduck/GoWDiscordTeamBot

View on GitHub
event_helpers.py

Summary

Maintainability
A
0 mins
Test Coverage

Missing module docstring
Open

from game_constants import TROOP_RARITIES
Severity: Info
Found in event_helpers.py by pylint

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

Missing function or method docstring
Open

def extract_lore(raw_data):
Severity: Info
Found in event_helpers.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 get_first_battles(raw_data):
Severity: Info
Found in event_helpers.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 transform_battle(battle):
Severity: Info
Found in event_helpers.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 extract_name(raw_data):
Severity: Info
Found in event_helpers.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 extract_currencies(raw_data):
Severity: Info
Found in event_helpers.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 (108/100)
Open

        'icon': f'Liveevents/Liveeventslocationicons_{battle["Icon"]}_full.png' if 'Icon' in battle else '',
Severity: Info
Found in event_helpers.py by pylint

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

Missing function or method docstring
Open

def roles_translation(roles):
Severity: Info
Found in event_helpers.py by pylint

Used when a function or method has no docstring.Some special methods like init do not require a docstring.

There are no issues that match your filters.

Category
Status