Format .py files with isort
This commit is contained in:
parent
1e149f9993
commit
6a08d45677
@ -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]
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user