Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 25, 2024
1 parent 5cc7342 commit 7fffa7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/sticker_convert/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
from json.decoder import JSONDecodeError
from math import ceil
from multiprocessing import cpu_count
from mergedeep import merge # type: ignore
from pathlib import Path
from typing import Any, Dict

from mergedeep import merge # type: ignore

from sticker_convert.definitions import CONFIG_DIR, DEFAULT_DIR
from sticker_convert.job import Job
from sticker_convert.job_option import CompOption, CredOption, InputOption, OutputOption
Expand Down
7 changes: 5 additions & 2 deletions src/sticker_convert/utils/files/json_resources_loader.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
from mergedeep import merge # type: ignore
from typing import Any, Dict

from sticker_convert.definitions import ROOT_DIR, CONFIG_DIR
from mergedeep import merge # type: ignore

from sticker_convert.definitions import CONFIG_DIR, ROOT_DIR
from sticker_convert.utils.files.json_manager import JsonManager


def _load_compression() -> Dict[Any, Any]:
compression_json = JsonManager.load_json(ROOT_DIR / "resources/compression.json")
custom_preset_json_path = CONFIG_DIR / "custom_preset.json"
Expand All @@ -15,6 +17,7 @@ def _load_compression() -> Dict[Any, Any]:
)
return compression_json


HELP_JSON: Dict[str, Dict[str, str]] = JsonManager.load_json(
ROOT_DIR / "resources/help.json"
)
Expand Down

0 comments on commit 7fffa7a

Please sign in to comment.