intentially leave GUI.py unformatted to test GHA

pull/2060/head
Jason 1 year ago
parent a2b094eadc
commit 2113543ad9

@ -8,7 +8,7 @@ on:
push: push:
branches: ["develop"] branches: ["develop"]
jobs: jobs:
build: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -16,6 +16,9 @@ jobs:
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: 3.10.14 python-version: 3.10.14
- uses: isort/isort-action@v1
with:
check-only: false
- name: Install Black - name: Install Black
run: pip install black run: pip install black
- name: Run black check - name: Run black check
@ -31,9 +34,4 @@ jobs:
git commit -am "fixup: Format Python code with Black" git commit -am "fixup: Format Python code with Black"
git push origin HEAD:develop git push origin HEAD:develop
- uses: isort/isort-action@v1
with:
requirements-files: "requirements.txt"

@ -11,5 +11,3 @@ jobs:
with: with:
options: "--line-length 101" options: "--line-length 101"
- uses: isort/isort-action@v1 - uses: isort/isort-action@v1
with:
requirements-files: "requirements.txt"

@ -15,14 +15,13 @@ from utils.console import print_markdown, print_step, print_substep
from utils.ffmpeg_install import ffmpeg_install from utils.ffmpeg_install import ffmpeg_install
from utils.id import id from utils.id import id
from utils.version import checkversion from utils.version import checkversion
from video_creation.background import ( from video_creation.background import (chop_background,
chop_background, download_background_audio,
download_background_audio, download_background_video,
download_background_video, get_background_config)
get_background_config,
)
from video_creation.final_video import make_final_video from video_creation.final_video import make_final_video
from video_creation.screenshot_downloader import get_screenshots_of_reddit_posts from video_creation.screenshot_downloader import \
get_screenshots_of_reddit_posts
from video_creation.voices import save_text_to_mp3 from video_creation.voices import save_text_to_mp3
__VERSION__ = "3.2.1" __VERSION__ = "3.2.1"

Loading…
Cancel
Save