mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 10:45:05 +01:00
Trivial: docstrings
Updated some docstring comments.
This commit is contained in:
parent
3ad923eff0
commit
a37577ee85
@ -79,7 +79,7 @@ class Configuration:
|
||||
])
|
||||
|
||||
def _read_config_file(self, path):
|
||||
# Reads configuration file and returns list of set variables
|
||||
""" Reads configuration file and returns list of set variables """
|
||||
config = {}
|
||||
if os.path.isfile(path):
|
||||
with open(path) as config_file:
|
||||
@ -92,7 +92,7 @@ class Configuration:
|
||||
return v
|
||||
|
||||
def validate(self):
|
||||
""" Validate configuration parameters """
|
||||
""" Validates configuration parameters """
|
||||
|
||||
# assert that cheat_highlight contains a valid value
|
||||
highlights = [
|
||||
|
Loading…
Reference in New Issue
Block a user