Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares committed Nov 27, 2024
1 parent 8b736e8 commit c4b1639
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/run_python_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/..."
Expand Down
2 changes: 2 additions & 0 deletions cuesubmit/cuesubmit/ui/Widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c4b1639

Please sign in to comment.