From c4b1639ee5a96bc38360ef84ab8be671aa30ef44 Mon Sep 17 00:00:00 2001 From: Diego Tavares Date: Wed, 27 Nov 2024 13:38:53 -0800 Subject: [PATCH] Fix lint errors --- ci/run_python_lint.sh | 4 ++-- cuesubmit/cuesubmit/ui/Widgets.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ci/run_python_lint.sh b/ci/run_python_lint.sh index 57bfff18c..488b9c946 100755 --- a/ci/run_python_lint.sh +++ b/ci/run_python_lint.sh @@ -43,8 +43,8 @@ cd .. echo "Running lint for cuesubmit/..." cd cuesubmit -PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_main cuesubmit -PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_test tests +PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_main cuesubmit --disable=no-member +PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_test tests --disable=no-member cd .. echo "Running lint for rqd/..." diff --git a/cuesubmit/cuesubmit/ui/Widgets.py b/cuesubmit/cuesubmit/ui/Widgets.py index fb16400a9..443096344 100644 --- a/cuesubmit/cuesubmit/ui/Widgets.py +++ b/cuesubmit/cuesubmit/ui/Widgets.py @@ -164,10 +164,12 @@ def __init__(self, defaultText=None, completerStrings=None, parent=None): self.setStyleSheet(Style.LINE_EDIT) def focusInEvent(self, e): + """Event when in focus""" super(CueLineEdit, self).focusInEvent(e) self.focusChange.emit(True) def focusOutEvent(self, e): + """Event when out of focus""" super(CueLineEdit, self).focusOutEvent(e) self.focusChange.emit(False)