Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made imports canonical, suppresses IDE errors. #32

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions wikimedia/entries/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
from pathlib import Path

import pandas as pd
from entries.entry import Entry
from executors.downloader import Downloader
from utilities.exceptions import DownloadException, IIIFException
from utilities.helpers import S3Helper, Text, InputHelper
from utilities.iiif import IIIF
from utilities.tracker import Result, Tracker
from wikimedia.entries.entry import Entry
from wikimedia.executors.downloader import Downloader
from wikimedia.utilities.exceptions import DownloadException, IIIFException
from wikimedia.utilities.helpers import S3Helper, Text, InputHelper
from wikimedia.utilities.iiif import IIIF
from wikimedia.utilities.tracker import Result, Tracker


class DownloadEntry(Entry):
Expand Down
4 changes: 2 additions & 2 deletions wikimedia/entries/entry.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from utilities.helpers import ParquetHelper
from utilities.tracker import Tracker
from wikimedia.utilities.helpers import ParquetHelper
from wikimedia.utilities.tracker import Tracker


class Entry:
Expand Down
6 changes: 3 additions & 3 deletions wikimedia/executors/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

import magic
import requests
from utilities.exceptions import DownloadException
from utilities.helpers import S3Helper
from utilities.tracker import Result, Tracker
from wikimedia.utilities.exceptions import DownloadException
from wikimedia.utilities.helpers import S3Helper
from wikimedia.utilities.tracker import Result, Tracker


class Downloader:
Expand Down
2 changes: 1 addition & 1 deletion wikimedia/utilities/emailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""

from botocore.exceptions import ClientError
from utilities.helpers import Text
from wikimedia.utilities.helpers import Text


class Summary:
Expand Down
2 changes: 1 addition & 1 deletion wikimedia/utilities/iiif.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import requests
import validators
from utilities.exceptions import IIIFException
from wikimedia.utilities.exceptions import IIIFException


class IIIF:
Expand Down
2 changes: 1 addition & 1 deletion wikimedia/utilities/tracker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from utilities.exceptions import WikiException
from wikimedia.utilities.exceptions import WikiException
from enum import Enum


Expand Down
Loading