Skip to content

Commit

Permalink
made imports canonical, suppresses IDE errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdellabitta committed Jun 25, 2024
1 parent 969a495 commit b1978cf
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
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

0 comments on commit b1978cf

Please sign in to comment.