maduck/GoWDiscordTeamBot

View on GitHub
configurations.py

Summary

Maintainability
A
0 mins
Test Coverage

Too few public methods (1/2)
Open

class Configurations:
Severity: Info
Found in configurations.py by pylint

Used when class has too few public methods, so be sure it's really worth it.

Unable to import 'hjson'
Open

import hjson as json
Severity: Critical
Found in configurations.py by pylint

Used when pylint has been unable to import a module.

Missing class docstring
Open

class Configurations:
Severity: Info
Found in configurations.py by pylint

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

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

        with open(self.DEFAULTS_FILE) as f:
Severity: Info
Found in configurations.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 get(self, key, default=None):
Severity: Info
Found in configurations.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 os
Severity: Info
Found in configurations.py by pylint

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

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

            with open(self.CONFIG_FILE) as f:
Severity: Info
Found in configurations.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