diff --git a/book_maker/loader/epub_loader.py b/book_maker/loader/epub_loader.py index 1519d79..fc7fb53 100644 --- a/book_maker/loader/epub_loader.py +++ b/book_maker/loader/epub_loader.py @@ -14,8 +14,14 @@ from tqdm import tqdm from book_maker.utils import num_tokens_from_text, prompt_config_to_kwargs from .base_loader import BaseBookLoader -from .helper import (EPUBBookLoaderHelper, is_text_figure, is_text_link, - is_text_list, is_text_source, is_text_tail_link) +from .helper import ( + EPUBBookLoaderHelper, + is_text_figure, + is_text_link, + is_text_list, + is_text_source, + is_text_tail_link, +) class EPUBBookLoader(BaseBookLoader): diff --git a/book_maker/obok.py b/book_maker/obok.py index 8ecd17d..dd4eeb9 100644 --- a/book_maker/obok.py +++ b/book_maker/obok.py @@ -199,8 +199,18 @@ class ENCRYPTIONError(Exception): def _load_crypto_libcrypto(): - from ctypes import (CDLL, POINTER, Structure, c_char_p, c_int, c_long, - c_ulong, c_void_p, cast, create_string_buffer) + from ctypes import ( + CDLL, + POINTER, + Structure, + c_char_p, + c_int, + c_long, + c_ulong, + c_void_p, + cast, + create_string_buffer, + ) from ctypes.util import find_library if sys.platform.startswith("win"):