From 8a82227acc302a08229cc4d0b1a465f1818d4c99 Mon Sep 17 00:00:00 2001 From: thomahl <thomahl@stud.ntnu.no> Date: Wed, 22 Apr 2020 10:19:34 +0200 Subject: [PATCH] #125 lint fiks --- soitool/inline_editable_soi_view.py | 1 - soitool/modules/module_base.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/soitool/inline_editable_soi_view.py b/soitool/inline_editable_soi_view.py index 54189b3..8690ad3 100644 --- a/soitool/inline_editable_soi_view.py +++ b/soitool/inline_editable_soi_view.py @@ -12,7 +12,6 @@ from PySide2.QtWidgets import ( QGraphicsProxyWidget, ) from PySide2.QtGui import ( - QFont, QPixmap, QBrush, QPalette, diff --git a/soitool/modules/module_base.py b/soitool/modules/module_base.py index c260df7..91d97db 100644 --- a/soitool/modules/module_base.py +++ b/soitool/modules/module_base.py @@ -15,7 +15,7 @@ def qfont_with_pixel_size(font_family, pixel_size, weight=None): Name of font family. Sent to https://doc.qt.io/qt-5/qfont.html#QFont-1 pixel_size : int Pixel size. Sent to https://doc.qt.io/qt-5/qfont.html#setPixelSize - weight : QFont.Weight + weight : QFont.Weight Weight of font. Sent to https://doc.qt.io/qt-5/qfont.html#QFont-1 """ if weight is not None: -- GitLab