Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lra committed Jan 30, 2024
1 parent 6629dae commit 318b1ba
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mackup/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
An Application Profile contains all the information about an application in
Mackup. Name, files, ...
"""

import os

from .mackup import Mackup
from . import utils


class ApplicationProfile(object):

"""Instantiate this class with application specific data."""

def __init__(self, mackup, files, dry_run, verbose):
Expand Down
2 changes: 1 addition & 1 deletion mackup/appsdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -17,7 +18,6 @@


class ApplicationsDatabase(object):

"""Database containing all the configured applications."""

def __init__(self):
Expand Down
2 changes: 0 additions & 2 deletions mackup/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@


class Config(object):

"""The Mackup Config class."""

def __init__(self, filename=None):
Expand Down Expand Up @@ -276,7 +275,6 @@ def _parse_apps_to_sync(self):


class ConfigError(Exception):

"""Exception used for handle errors in the configuration."""

pass
1 change: 1 addition & 0 deletions mackup/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Constants used in Mackup."""

# Current version
VERSION = "0.8.40"

Expand Down
2 changes: 1 addition & 1 deletion mackup/mackup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -16,7 +17,6 @@


class Mackup(object):

"""Main Mackup class."""

def __init__(self):
Expand Down
1 change: 1 addition & 0 deletions mackup/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions mackup/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""System static utilities being used by the modules."""

import base64
import os
import platform
Expand Down

0 comments on commit 318b1ba

Please sign in to comment.