mirror of
https://github.com/qurator-spk/modstool.git
synced 2025-06-25 19:49:54 +02:00
🐛 Make mypy happier by making mods4pandas a real package
This commit is contained in:
parent
51617a5b1e
commit
d7c75914d9
6 changed files with 7 additions and 7 deletions
0
src/mods4pandas/__init__.py
Normal file
0
src/mods4pandas/__init__.py
Normal file
0
src/mods4pandas/tests/__init__.py
Normal file
0
src/mods4pandas/tests/__init__.py
Normal file
|
@ -4,8 +4,8 @@ from lxml import etree as ET
|
|||
import pandas as pd
|
||||
|
||||
|
||||
from mods4pandas.alto4pandas import alto_to_dict, process
|
||||
from mods4pandas.lib import flatten
|
||||
from ..alto4pandas import alto_to_dict, process
|
||||
from ..lib import flatten
|
||||
|
||||
TESTS_DATA_DIR = Path(__file__).parent / "data"
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
from lxml import etree as ET
|
||||
|
||||
|
||||
from mods4pandas.mods4pandas import mets_to_dict
|
||||
from mods4pandas.lib import flatten
|
||||
from ..mods4pandas import mets_to_dict
|
||||
from ..lib import flatten
|
||||
|
||||
|
||||
def dict_fromstring(x):
|
||||
|
|
|
@ -5,8 +5,8 @@ import pandas as pd
|
|||
import pytest
|
||||
|
||||
|
||||
from mods4pandas.mods4pandas import mods_to_dict, process
|
||||
from mods4pandas.lib import flatten
|
||||
from ..mods4pandas import mods_to_dict, process
|
||||
from ..lib import flatten
|
||||
|
||||
TESTS_DATA_DIR = Path(__file__).parent / "data"
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ from pathlib import Path
|
|||
|
||||
from lxml import etree as ET
|
||||
|
||||
from mods4pandas.mods4pandas import pages_to_dict
|
||||
from ..mods4pandas import pages_to_dict
|
||||
|
||||
|
||||
TESTS_DATA_DIR = Path(__file__).parent / "data"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue