Format .py files with isort

This commit is contained in:
Wiktor Zykubek 2023-07-11 15:29:37 +02:00
parent 1e149f9993
commit 6a08d45677
No known key found for this signature in database
GPG Key ID: 0DAA9DC01449FCA2
4 changed files with 14 additions and 10 deletions

View File

@ -3,7 +3,7 @@
API_URL = "https://open.fm/radio/api/v2/ofm/stations_slug.json"
DEFAULT_VOLUME = 70
from .ui_main_window import Ui_MainWindow # nopep8: E402
from .mainwindow import MainWindow # nopep8: E402
from .ui_main_window import Ui_MainWindow # nopep8: E402 isort: skip
from .mainwindow import MainWindow # nopep8: E402 isort: skip
__all__ = [Ui_MainWindow, MainWindow]

View File

@ -1,9 +1,11 @@
# coding=utf-8
from PySide6.QtWidgets import QApplication
from . import MainWindow
import sys
from PySide6.QtWidgets import QApplication
from . import MainWindow
def main():
app = QApplication(sys.argv)

View File

@ -1,10 +1,12 @@
# coding=utf-8
from PySide6.QtCore import QUrl
from PySide6.QtWidgets import QMainWindow, QMessageBox, QStyle
from PySide6.QtMultimedia import QMediaPlayer, QAudioOutput
import json
import requests
from PySide6.QtCore import QUrl
from PySide6.QtMultimedia import QAudioOutput, QMediaPlayer
from PySide6.QtWidgets import QMainWindow, QMessageBox, QStyle
from . import API_URL, DEFAULT_VOLUME, Ui_MainWindow

View File

@ -1,9 +1,9 @@
# coding=utf-8
import sys
import os
from shutil import which
import logging
import os
import sys
from shutil import which
UI_DIR = "assets/ui"