diff options
author | Clayton G. Hobbs <clay@lakeserv.net> | 2016-05-15 12:18:44 -0400 |
---|---|---|
committer | Clayton G. Hobbs <clay@lakeserv.net> | 2016-05-15 12:18:44 -0400 |
commit | bce8ef1763c0a068e30d6302eb7c0568e22ea525 (patch) | |
tree | 8704d2783d03bc131563efc767a52f0d611329d9 /kayleevc/util.py | |
parent | 2611c6dcb64efabbd36c4925175c1533aeddb51e (diff) |
Formatting and documentation
Added some blank lines and wrapped some long lines to be closer to PEP 8 compliance. Improved docstrings in NumberParser class. Added docstrings for undocumented code and removed a TODO message that no longer applies.
Diffstat (limited to 'kayleevc/util.py')
-rw-r--r-- | kayleevc/util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kayleevc/util.py b/kayleevc/util.py index 5c93b7f..8e33629 100644 --- a/kayleevc/util.py +++ b/kayleevc/util.py @@ -13,6 +13,7 @@ import requests from gi.repository import GLib + class Config: """Keep track of the configuration of Kaylee""" # Name of the program, for later use @@ -93,6 +94,7 @@ class Config: # Make an empty options namespace self.options = Namespace() + class Hasher: """Keep track of hashes for Kaylee""" @@ -123,6 +125,7 @@ class Hasher: with open(self.config.hash_file, 'w') as f: json.dump(self.hashes, f) + class LanguageUpdater: """ Handles updating the language using the online lmtool. |