Skip to content

Commit

Permalink
Pylint: Fix a couple of minor linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jul 24, 2022
1 parent ad68354 commit c431e78
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spyder/plugins/pylint/main_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,6 @@ def __init__(self, name=None, plugin=None, parent=None):
self.treewidget.sig_edit_goto_requested.connect(
self.sig_edit_goto_requested)

def on_close(self):
self.stop_code_analysis()

# --- Private API
# ------------------------------------------------------------------------
@Slot()
Expand Down Expand Up @@ -475,7 +472,7 @@ def _save_history(self):
for fname in self.curr_filenames:
if _("untitled") not in fname:
filename = osp.normpath(fname)
list_save_files.append(fname)
list_save_files.append(filename)

self.curr_filenames = list_save_files[:MAX_HISTORY_ENTRIES]
self.set_conf("history_filenames", self.curr_filenames)
Expand Down

0 comments on commit c431e78

Please sign in to comment.