From 4bda6a7ed3b1de402b1ab0401f90e96f07e3b99a Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 13 Jun 2019 09:13:49 +0200 Subject: [PATCH] move to src folder --- Background.py => src/Background.py | 0 Commands.py => src/Commands.py | 4 ++-- LimitedDict.py => src/LimitedDict.py | 0 LimitedList.py => src/LimitedList.py | 0 Market.py => src/Market.py | 0 Mercatus.py => src/Mercatus.py | 8 ++++---- Utils.py => src/Utils.py | 0 config.sample.yml => src/config.sample.yml | 0 requirements.txt => src/requirements.txt | 0 9 files changed, 6 insertions(+), 6 deletions(-) rename Background.py => src/Background.py (100%) rename Commands.py => src/Commands.py (93%) rename LimitedDict.py => src/LimitedDict.py (100%) rename LimitedList.py => src/LimitedList.py (100%) rename Market.py => src/Market.py (100%) rename Mercatus.py => src/Mercatus.py (88%) rename Utils.py => src/Utils.py (100%) rename config.sample.yml => src/config.sample.yml (100%) rename requirements.txt => src/requirements.txt (100%) diff --git a/Background.py b/src/Background.py similarity index 100% rename from Background.py rename to src/Background.py diff --git a/Commands.py b/src/Commands.py similarity index 93% rename from Commands.py rename to src/Commands.py index 8a8c9d7..1a728df 100644 --- a/Commands.py +++ b/src/Commands.py @@ -1,8 +1,8 @@ from telegram.ext import CallbackContext from telegram import Update -from LimitedList import LimitedList -from Utils import parse_command, config, Section +from src.LimitedList import LimitedList +from src.Utils import parse_command, config, Section def get_watchlist(context: CallbackContext) -> LimitedList: diff --git a/LimitedDict.py b/src/LimitedDict.py similarity index 100% rename from LimitedDict.py rename to src/LimitedDict.py diff --git a/LimitedList.py b/src/LimitedList.py similarity index 100% rename from LimitedList.py rename to src/LimitedList.py diff --git a/Market.py b/src/Market.py similarity index 100% rename from Market.py rename to src/Market.py diff --git a/Mercatus.py b/src/Mercatus.py similarity index 88% rename from Mercatus.py rename to src/Mercatus.py index caa0106..41e92d6 100644 --- a/Mercatus.py +++ b/src/Mercatus.py @@ -2,10 +2,10 @@ from asyncio import sleep from datetime import datetime, timedelta from telegram.ext import Updater, CommandHandler -from Background import interval -from Market import Market -from Utils import persistence, config, Section -from Commands import watchlist_add, watchlist_delete, watchlist_all, watchlist_clear, set_api_key, get_api_key +from src.Background import interval +from src.Market import Market +from src.Utils import persistence, config, Section +from src.Commands import watchlist_add, watchlist_delete, watchlist_all, watchlist_clear, set_api_key, get_api_key updater: Updater = Updater(config['token'], use_context=True, persistence=persistence) diff --git a/Utils.py b/src/Utils.py similarity index 100% rename from Utils.py rename to src/Utils.py diff --git a/config.sample.yml b/src/config.sample.yml similarity index 100% rename from config.sample.yml rename to src/config.sample.yml diff --git a/requirements.txt b/src/requirements.txt similarity index 100% rename from requirements.txt rename to src/requirements.txt