mirror of
https://github.com/cheat/cheat.git
synced 2025-04-09 03:04:03 +02: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):
|
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 = {}
|
config = {}
|
||||||
if os.path.isfile(path):
|
if os.path.isfile(path):
|
||||||
with open(path) as config_file:
|
with open(path) as config_file:
|
||||||
@ -92,7 +92,7 @@ class Configuration:
|
|||||||
return v
|
return v
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
""" Validate configuration parameters """
|
""" Validates configuration parameters """
|
||||||
|
|
||||||
# assert that cheat_highlight contains a valid value
|
# assert that cheat_highlight contains a valid value
|
||||||
highlights = [
|
highlights = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user