mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
Trivial: docstrings
Updated some docstring comments.
This commit is contained in:
@@ -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 = [
|
||||||
|
|||||||
Reference in New Issue
Block a user