rewrite imports

This commit is contained in:
Kiryl
2021-10-05 14:01:05 +03:00
parent 236233fff1
commit 943b1f0754
12 changed files with 53 additions and 64 deletions

View File

@@ -1,14 +1,13 @@
import logging
import os
import logging
import pathlib
import subprocess
from subprocess import PIPE
from threading import Event
from bs4 import BeautifulSoup
from src.docx_converter.html_docx_preprocessor import HTMLDocxPreprocessor
from src.docx_converter.libra_html2json_converter import LibraHTML2JSONConverter
from src.book_solver import BookSolver
@@ -155,4 +154,4 @@ if __name__ == "__main__":
out_path = pathlib.Path(os.path.join(folder, 'json/ch13.json'))
book = DocxBook(html_path=file)
book.convert_from_html()
book.convert_from_html()

View File

@@ -1,9 +1,9 @@
import logging
import os
import pathlib
import re
from shutil import copyfile
import logging
import pathlib
from typing import List
from shutil import copyfile
from bs4 import BeautifulSoup, NavigableString, Tag

View File

@@ -1,5 +1,5 @@
import logging
import re
import logging
from copy import copy
from src.livecarta_config import LiveCartaConfig