configurations.py
Too few public methods (1/2) Open
Open
class Configurations:
- Read upRead up
- Exclude checks
Used when class has too few public methods, so be sure it's really worth it.
Unable to import 'hjson' Open
Open
import hjson as json
- Read upRead up
- Exclude checks
Used when pylint has been unable to import a module.
Missing class docstring Open
Open
class Configurations:
- Read upRead up
- Exclude checks
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
Open
with open(self.DEFAULTS_FILE) as f:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).
Missing function or method docstring Open
Open
def get(self, key, default=None):
- 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 module docstring Open
Open
import os
- Read upRead up
- Exclude checks
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
Open
with open(self.CONFIG_FILE) as f:
- Read upRead up
- Exclude checks
Used when the name doesn't conform to naming rules associated to its type (constant, variable, class...).