Fix lgtm error display #1024 (#1190)

* fix: Syntax Error lgtm display in matrix/matrix_operation.py.

* Testing for None should use the 'is' operator.

* fix: Too many arguments for string format.

* fix: supress lgtm alert as false positive.

* style: Unnecessary 'pass' statement.

* Revert "fix: Syntax Error lgtm display in matrix/matrix_operation.py."

This reverts commit 4c629b4ce16a32b99a8127f5553cdb9015bf5e80.
This commit is contained in:
Denis Trofimov
2019-09-21 17:23:34 +03:00
committed by Christian Clauss
parent a2b5a90c11
commit 04962c0d17
4 changed files with 4 additions and 5 deletions

View File

@ -307,7 +307,7 @@ class BinomialHeap:
# No right subtree corner case
# The structure of the tree implies that this should be the bottom root
# and there is at least one other root
if self.min_node.right == None:
if self.min_node.right is None:
# Update size
self.size -= 1