1
0
Fork 0
mirror of https://github.com/qurator-spk/modstool.git synced 2025-06-26 03:59:55 +02:00

🎨 Sort/format imports

This commit is contained in:
Mike Gerber 2025-06-13 19:03:35 +02:00
parent d7c75914d9
commit 89b71dd5c4
4 changed files with 8 additions and 10 deletions

View file

@ -1,8 +1,8 @@
from pathlib import Path
import re import re
from lxml import etree as ET from pathlib import Path
import pandas as pd
import pandas as pd
from lxml import etree as ET
from ..alto4pandas import alto_to_dict, process from ..alto4pandas import alto_to_dict, process
from ..lib import flatten from ..lib import flatten

View file

@ -1,8 +1,7 @@
from lxml import etree as ET from lxml import etree as ET
from ..mods4pandas import mets_to_dict
from ..lib import flatten from ..lib import flatten
from ..mods4pandas import mets_to_dict
def dict_fromstring(x): def dict_fromstring(x):

View file

@ -1,12 +1,12 @@
from pathlib import Path
import re import re
from lxml import etree as ET from pathlib import Path
import pandas as pd import pandas as pd
import pytest import pytest
from lxml import etree as ET
from ..mods4pandas import mods_to_dict, process
from ..lib import flatten from ..lib import flatten
from ..mods4pandas import mods_to_dict, process
TESTS_DATA_DIR = Path(__file__).parent / "data" TESTS_DATA_DIR = Path(__file__).parent / "data"

View file

@ -5,7 +5,6 @@ from lxml import etree as ET
from ..mods4pandas import pages_to_dict from ..mods4pandas import pages_to_dict
TESTS_DATA_DIR = Path(__file__).parent / "data" TESTS_DATA_DIR = Path(__file__).parent / "data"