diff --git a/mackup/application.py b/mackup/application.py index 7e7522dc2..bc34aa982 100644 --- a/mackup/application.py +++ b/mackup/application.py @@ -4,6 +4,7 @@ An Application Profile contains all the information about an application in Mackup. Name, files, ... """ + import os from .mackup import Mackup @@ -11,7 +12,6 @@ class ApplicationProfile(object): - """Instantiate this class with application specific data.""" def __init__(self, mackup, files, dry_run, verbose): diff --git a/mackup/appsdb.py b/mackup/appsdb.py index 3699cb1f0..354a3106a 100644 --- a/mackup/appsdb.py +++ b/mackup/appsdb.py @@ -4,6 +4,7 @@ The Applications Database provides an easy to use interface to load application data from the Mackup Database (files). """ + import os try: @@ -17,7 +18,6 @@ class ApplicationsDatabase(object): - """Database containing all the configured applications.""" def __init__(self): diff --git a/mackup/config.py b/mackup/config.py index 9ad9a36d1..eca948bba 100644 --- a/mackup/config.py +++ b/mackup/config.py @@ -27,7 +27,6 @@ class Config(object): - """The Mackup Config class.""" def __init__(self, filename=None): @@ -276,7 +275,6 @@ def _parse_apps_to_sync(self): class ConfigError(Exception): - """Exception used for handle errors in the configuration.""" pass diff --git a/mackup/constants.py b/mackup/constants.py index d35830d31..1a7e027c0 100644 --- a/mackup/constants.py +++ b/mackup/constants.py @@ -1,4 +1,5 @@ """Constants used in Mackup.""" + # Current version VERSION = "0.8.40" diff --git a/mackup/mackup.py b/mackup/mackup.py index 734e8ee9c..92ea0bb22 100644 --- a/mackup/mackup.py +++ b/mackup/mackup.py @@ -5,6 +5,7 @@ runtime. It also provides easy to use interface that is used by the Mackup UI. The only UI for now is the command line. """ + import os import os.path import shutil @@ -16,7 +17,6 @@ class Mackup(object): - """Main Mackup class.""" def __init__(self): diff --git a/mackup/main.py b/mackup/main.py index 198ac2563..71d1f04c7 100644 --- a/mackup/main.py +++ b/mackup/main.py @@ -35,6 +35,7 @@ See https://github.com/lra/mackup/tree/master/doc for more information. """ + from docopt import docopt from .appsdb import ApplicationsDatabase from .application import ApplicationProfile diff --git a/mackup/utils.py b/mackup/utils.py index 434631171..316800a9b 100644 --- a/mackup/utils.py +++ b/mackup/utils.py @@ -1,4 +1,5 @@ """System static utilities being used by the modules.""" + import base64 import os import platform