diff --git a/discord_embed/settings.py b/discord_embed/settings.py index 89840e7..a6b2f5e 100644 --- a/discord_embed/settings.py +++ b/discord_embed/settings.py @@ -1,7 +1,7 @@ import os import pathlib - import sys + from dotenv import load_dotenv DESCRIPTION = ( diff --git a/discord_embed/video.py b/discord_embed/video.py index 58e0324..5445c1a 100644 --- a/discord_embed/video.py +++ b/discord_embed/video.py @@ -13,6 +13,7 @@ class Resolution: height: Height of video. width: Width of video. """ + height: int width: int diff --git a/discord_embed/video_file_upload.py b/discord_embed/video_file_upload.py index e6f5f62..412f8ee 100644 --- a/discord_embed/video_file_upload.py +++ b/discord_embed/video_file_upload.py @@ -18,6 +18,7 @@ class VideoFile: filename: The filename of the video file. location: The location of the video file. """ + filename: str location: str diff --git a/tests/test_generate_html.py b/tests/test_generate_html.py index fd1fe6b..4733850 100644 --- a/tests/test_generate_html.py +++ b/tests/test_generate_html.py @@ -56,7 +56,7 @@ def test_generate_html_for_videos(): elif line == 3: assert html.startswith("