Run black

This commit is contained in:
2023-01-09 03:51:46 +01:00
parent e1ede66db5
commit fc424f7263
4 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import os import os
import pathlib import pathlib
import sys import sys
from dotenv import load_dotenv from dotenv import load_dotenv
DESCRIPTION = ( DESCRIPTION = (

View File

@ -13,6 +13,7 @@ class Resolution:
height: Height of video. height: Height of video.
width: Width of video. width: Width of video.
""" """
height: int height: int
width: int width: int

View File

@ -18,6 +18,7 @@ class VideoFile:
filename: The filename of the video file. filename: The filename of the video file.
location: The location of the video file. location: The location of the video file.
""" """
filename: str filename: str
location: str location: str

View File

@ -56,7 +56,7 @@ def test_generate_html_for_videos():
elif line == 3: elif line == 3:
assert html.startswith("<!-- Generated at ") assert html.startswith("<!-- Generated at ")
elif line == 4: elif line == 4:
assert html == '<head>' assert html == "<head>"
elif line == 5: elif line == 5:
assert html == '<meta property="og:type" content="video.other">' assert html == '<meta property="og:type" content="video.other">'
elif line == 6: elif line == 6: