run ruff in CI
All checks were successful
CI/CD / build (push) Successful in 9m20s

This commit is contained in:
2024-11-28 20:23:54 +01:00
parent f5308f06ab
commit 36a31f1a06
10 changed files with 164 additions and 90 deletions

View File

@@ -6,13 +6,13 @@ from PySide6.QtWidgets import (
QGraphicsScene,
QGraphicsView,
QHBoxLayout,
QWidget
QWidget,
)
from grid.ui.pattern import Pattern
class Window(QWidget):
class Window(QWidget):
def __init__(self):
super().__init__()
self.setWindowTitle("sphere grid")
@@ -21,7 +21,6 @@ class Window(QWidget):
self.scene = QGraphicsScene(0, 0, 600, 600)
pp = Pattern(300, 300)
self.scene.addItem(pp)
view = QGraphicsView(self.scene)
@@ -33,6 +32,7 @@ class Window(QWidget):
self.setLayout(vbox)
self.show()
app = QApplication(sys.argv)
w = Window()
app.exec()