Skip to content

Commit c712620

Browse files
OwTSNE: Pylint fixes
1 parent f7dbb03 commit c712620

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Orange/widgets/unsupervised/owtsne.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def update_coordinates(self):
231231

232232

233233
class invalidated:
234+
# pylint: disable=invalid-name
234235
pca_projection = affinities = tsne_embedding = False
235236

236237
def __set__(self, instance, value):
@@ -376,6 +377,7 @@ def error(err):
376377

377378
# `super().check_data()` clears all messages so we have to remember if
378379
# it was shown
380+
# pylint: disable=assignment-from-no-return
379381
should_show_modified_message = self.Information.modified.is_shown()
380382
super().check_data()
381383

Orange/widgets/unsupervised/tests/test_owtsne.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ def test_modified_info_message_behaviour(self):
289289
)
290290

291291
def test_invalidation_flow(self):
292+
# pylint: disable=protected-access
292293
w = self.widget
293294
# Setup widget: send data to input with global structure "off", then
294295
# set global structure "on" (after the embedding is computed)

0 commit comments

Comments
 (0)