Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black formatting #1992

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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