From bce8ef1763c0a068e30d6302eb7c0568e22ea525 Mon Sep 17 00:00:00 2001 From: "Clayton G. Hobbs" Date: Sun, 15 May 2016 12:18:44 -0400 Subject: 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. --- kayleevc/util.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kayleevc/util.py') 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. -- cgit 1.4.1