From 62d1da4728424392056f7bf85066e9f2800262ea Mon Sep 17 00:00:00 2001 From: Ian Bush <bush@ill.fr> Date: Thu, 31 May 2018 11:34:28 +0200 Subject: [PATCH] Refs #22477 Fix flake8 warnings --- qt/applications/workbench/workbench/app/mainwindow.py | 1 - .../workbench/workbench/plugins/plotselectorwidget.py | 3 ++- qt/python/mantidqt/widgets/plotselector/model.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/qt/applications/workbench/workbench/app/mainwindow.py b/qt/applications/workbench/workbench/app/mainwindow.py index 393402f1baa..8a2b7abcfba 100644 --- a/qt/applications/workbench/workbench/app/mainwindow.py +++ b/qt/applications/workbench/workbench/app/mainwindow.py @@ -170,7 +170,6 @@ class MainWindow(QMainWindow): self.plot_selector.register_plugin() self.widgets.append(self.plot_selector) - self.set_splash("Loading code editing widget") from workbench.plugins.editor import MultiFileEditor self.editor = MultiFileEditor(self) diff --git a/qt/applications/workbench/workbench/plugins/plotselectorwidget.py b/qt/applications/workbench/workbench/plugins/plotselectorwidget.py index f1cabbe79a7..5604824351c 100644 --- a/qt/applications/workbench/workbench/plugins/plotselectorwidget.py +++ b/qt/applications/workbench/workbench/plugins/plotselectorwidget.py @@ -1,6 +1,6 @@ # This file is part of the mantid workbench. # -# Copyright (C) 2017 mantidproject +# Copyright (C) 2018 mantidproject # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,6 +26,7 @@ from workbench.plugins.base import PluginWidget from workbench.plotting.currentfigure import CurrentFigure from mantidqt.widgets.plotselector.presenter import PlotSelectorPresenter + class PlotSelector(PluginWidget): """Provides an algorithm selector widget for selecting algorithms to run""" diff --git a/qt/python/mantidqt/widgets/plotselector/model.py b/qt/python/mantidqt/widgets/plotselector/model.py index 79175317f7c..267401fff23 100644 --- a/qt/python/mantidqt/widgets/plotselector/model.py +++ b/qt/python/mantidqt/widgets/plotselector/model.py @@ -16,6 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. from __future__ import absolute_import, print_function + class PlotSelectorModel(object): """ This is the model for the plot selector widget. Essentially this -- GitLab