Skip to content

Commit

Permalink
STYLE: Automated changes from pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aylward committed May 5, 2024
1 parent 3c44c56 commit 4ea74bd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/minder3d/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from PySide6.QtGui import QColor, QPalette
from PySide6.QtWidgets import QApplication

from .parse_args import parse_args
from .minder3DWindow import Minder3DWindow
from .parse_args import parse_args


def main():
Expand Down
8 changes: 5 additions & 3 deletions src/minder3d/lib/sovUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

import itk
import numpy as np
from PySide6.QtCore import QSettings, QStandardPaths, QCoreApplication
from PySide6.QtCore import QCoreApplication, QSettings, QStandardPaths
from PySide6.QtWidgets import QMainWindow, QTextEdit

from .sovColorMapUtils import short_colormap, short_colormap_scale_factor
Expand Down Expand Up @@ -182,8 +182,10 @@ def get_settings():
Returns:
QSettings: The application settings.
"""
settings_file = os.path.join(QStandardPaths.writableLocation(
QStandardPaths.AppDataLocation), "settings.ini")
settings_file = os.path.join(
QStandardPaths.writableLocation(QStandardPaths.AppDataLocation),
'settings.ini',
)
os.makedirs(os.path.dirname(settings_file), exist_ok=True)
settings = QSettings(settings_file, QSettings.IniFormat)

Expand Down
4 changes: 2 additions & 2 deletions src/minder3d/minder3DWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def __init__(self, parent=None):
super().__init__(parent)
self.setupUi(self)

QCoreApplication.setOrganizationName("Aylward")
QCoreApplication.setApplicationName("Minder3D")
QCoreApplication.setOrganizationName('Aylward')
QCoreApplication.setApplicationName('Minder3D')

self.state = Minder3DState()

Expand Down

0 comments on commit 4ea74bd

Please sign in to comment.