Skip to content

Commit

Permalink
Remove obsolete dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
koenvdheuvel committed Aug 16, 2024
1 parent 57fbebb commit aa403b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
import dotenv
import lightbulb
import hikari
import dataset
import asyncio
import importlib
import sys
from models import create_tables, Alert, Blacklist, Notification, Item
from models import create_tables, Alert
from logging import info
from yahoo import YahooAuctionsChecker
from mercari import MercariChecker
Expand Down
5 changes: 2 additions & 3 deletions storechecker.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
from abc import ABC, abstractmethod
from dataclasses import dataclass
from datetime import datetime
from models import Alert, Blacklist, Item, Notification
from models import Alert, Item, Notification
from typing import Optional
import peewee
from repositories import ItemRepository
import aiohttp
from logging import info, warning
from lightbulb import BotApp
from hikari import Embed, Color, Message
from hikari import Embed, Color

@dataclass
class AbstractItem(ABC):
Expand Down
7 changes: 1 addition & 6 deletions yahoo.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
from dataclasses import dataclass
import aiohttp
import json
import math
from logging import info, error
from logging import error
from hikari import Color
import math

import pytz

from storechecker import AlertChecker, AbstractItem

@dataclass
Expand All @@ -18,7 +14,6 @@ class YahooAuctionItem(AbstractItem):
buyout_price: int = 0
title: str = ''
image_url: str = ''
end_time: datetime = None

@property
def url(self) -> str:
Expand Down

0 comments on commit aa403b2

Please sign in to comment.