From 0555111721a2283a177864538fb437b31b148f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Thu, 25 Jan 2024 14:09:56 +0100 Subject: examples: fix flake8 issues and add exceptions Exception for: - qApp and tr not being directly imported: F821 - *rc and qml modules being imported but not used: F401 Pick-to: 6.6 6.5 6.2 Change-Id: I5e40f3f54c1721ef3dc5d7f1e87d5fd8ec771b8e Reviewed-by: Friedemann Kleint --- examples/corelib/settingseditor/settingseditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/corelib/settingseditor') diff --git a/examples/corelib/settingseditor/settingseditor.py b/examples/corelib/settingseditor/settingseditor.py index 23995da3d..f87a2f4b5 100644 --- a/examples/corelib/settingseditor/settingseditor.py +++ b/examples/corelib/settingseditor/settingseditor.py @@ -242,7 +242,7 @@ class MainWindow(QMainWindow): self.about_action = QAction("&About", self, triggered=self.about) self.about_Qt_action = QAction("About &Qt", self, - triggered=qApp.aboutQt) + triggered=qApp.aboutQt) # noqa: F821 def create_menus(self): self.file_menu = self.menuBar().addMenu("&File") -- cgit v1.2.3