Skip to content

Commit

Permalink
pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 28, 2024
1 parent 383baab commit b3036d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Code/autopkglib/SparkleUpdateInfoProvider.py
Expand Up @@ -21,8 +21,8 @@
from urllib.parse import quote, urlencode, urlsplit, urlunsplit
from xml.etree import ElementTree

from autopkglib.common import APLooseVersion
from autopkglib import ProcessorError
from autopkglib.common import APLooseVersion
from autopkglib.URLGetter import URLGetter

__all__ = ["SparkleUpdateInfoProvider"]
Expand Down
2 changes: 1 addition & 1 deletion Code/autopkglib/__init__.py
Expand Up @@ -43,8 +43,8 @@
log_err,
version_equal_or_greater,
)
from autopkglib.prefs import get_override_dirs, get_pref
from autopkglib.recipes import RecipeChain
from autopkglib.prefs import get_pref, get_override_dirs

try:
from CoreFoundation import ( # type: ignore
Expand Down
10 changes: 2 additions & 8 deletions Code/autopkglib/apgit/__init__.py
@@ -1,15 +1,9 @@
import os
import subprocess
from typing import Optional, Dict
from typing import Dict, Optional

from autopkglib.common import is_executable, is_linux, is_mac, is_windows, log_err
from autopkglib.prefs import get_pref
from autopkglib.common import (
is_executable,
is_linux,
is_mac,
is_windows,
log_err,
)


# git functions
Expand Down
3 changes: 1 addition & 2 deletions Code/autopkglib/recipes/__init__.py
Expand Up @@ -25,7 +25,6 @@
from typing import Any, Optional

import yaml

from autopkglib.apgit import get_git_commit_hash
from autopkglib.common import (
DEFAULT_RECIPE_MAP,
Expand All @@ -37,7 +36,7 @@
log_err,
version_equal_or_greater,
)
from autopkglib.prefs import get_pref, get_override_dirs
from autopkglib.prefs import get_override_dirs, get_pref

# Set the global recipe map
globalRecipeMap: dict[str, dict[str, str]] = {
Expand Down

0 comments on commit b3036d4

Please sign in to comment.