maduck/GoWDiscordTeamBot

View on GitHub
graphic_map.py

Summary

Maintainability
A
0 mins
Test Coverage

Unable to import 'wand.color'
Open

from wand.color import Color
Severity: Critical
Found in graphic_map.py by pylint

Used when pylint has been unable to import a module.

Unable to import 'requests.exceptions'
Open

import requests.exceptions
Severity: Critical
Found in graphic_map.py by pylint

Used when pylint has been unable to import a module.

Unable to import 'wand.drawing'
Open

from wand.drawing import Drawing
Severity: Critical
Found in graphic_map.py by pylint

Used when pylint has been unable to import a module.

Missing function or method docstring
Open

def clamp01(value):
Severity: Info
Found in graphic_map.py by pylint

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

Variable name x doesn't conform to snake_case naming style
Open

                x, y = kingdom['coordinates']
Severity: Info
Found in graphic_map.py by pylint

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

Argument name b doesn't conform to snake_case naming style
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

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

Missing function or method docstring
Open

def render_all(result):
Severity: Info
Found in graphic_map.py by pylint

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

Missing class docstring
Open

class WorldMap(BasePreview):
Severity: Info
Found in graphic_map.py by pylint

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

Argument name t doesn't conform to snake_case naming style
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

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

Variable name x doesn't conform to snake_case naming style
Open

                x = 3 / 4 * lerp(x, x, t) + 250
Severity: Info
Found in graphic_map.py by pylint

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

Missing function or method docstring
Open

    def render_map(self):
Severity: Info
Found in graphic_map.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 lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

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

Variable name y doesn't conform to snake_case naming style
Open

                x, y = kingdom['coordinates']
Severity: Info
Found in graphic_map.py by pylint

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

Variable name t2 doesn't conform to snake_case naming style
Open

                t, t2 = x / 2048, y / 2048
Severity: Info
Found in graphic_map.py by pylint

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

Argument name a doesn't conform to snake_case naming style
Open

def lerp(a, b, t):
Severity: Info
Found in graphic_map.py by pylint

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

Missing function or method docstring
Open

    def render_overlays(self):
Severity: Info
Found in graphic_map.py by pylint

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

Variable name y doesn't conform to snake_case naming style
Open

                y = 3 / 4 * lerp(y, y, t2) + 250
Severity: Info
Found in graphic_map.py by pylint

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

Missing function or method docstring
Open

    def render_kingdoms(self):
Severity: Info
Found in graphic_map.py by pylint

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

Missing module docstring
Open

import io
Severity: Info
Found in graphic_map.py by pylint

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

Variable name t doesn't conform to snake_case naming style
Open

                t, t2 = x / 2048, y / 2048
Severity: Info
Found in graphic_map.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