Skip to content

Commit

Permalink
Simplify import
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverkinch committed Jul 11, 2024
1 parent b5c120c commit f015481
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/domsdatabasen/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
"""__init__.py file for the domsdatabasen package."""

from .dataset_builder import DatasetBuilder
from .processor import Processor
from .scraper import Scraper
2 changes: 1 addition & 1 deletion src/scripts/finalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


import hydra
from domsdatabasen.dataset_builder import DatasetBuilder
from domsdatabasen import DatasetBuilder
from omegaconf import DictConfig


Expand Down
2 changes: 1 addition & 1 deletion src/scripts/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging

import hydra
from domsdatabasen.processor import Processor
from domsdatabasen import Processor
from omegaconf import DictConfig

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import logging

import hydra
from domsdatabasen.scraper import Scraper
from domsdatabasen import Scraper
from omegaconf import DictConfig

logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion tests/processor/test_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


import pytest
from domsdatabasen.processor import Processor
from domsdatabasen import Processor


@pytest.fixture(scope="module")
Expand Down
2 changes: 1 addition & 1 deletion tests/scraper/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import shutil

import pytest
from domsdatabasen.scraper import Scraper
from domsdatabasen import Scraper
from hydra import compose, initialize

# Initialise Hydra
Expand Down

0 comments on commit f015481

Please sign in to comment.