remove old code useless code found by pylint "(unnecessary-pass) Unnecessary pass statement"
--- a/graphics/GraphicCommons.py Tue Oct 10 12:34:50 2017 +0300
+++ b/graphics/GraphicCommons.py Tue Oct 10 12:50:10 2017 +0300
@@ -1647,9 +1647,6 @@
def SetSize(width, height):
pass
- # Forbids to et size of the group elements to their minimum size
- pass
-
# Moves and Resizes the element for fitting scaling
def SetBestSize(self, scaling):
if scaling is not None:
--- a/tests/tools/check_source.sh Tue Oct 10 12:34:50 2017 +0300
+++ b/tests/tools/check_source.sh Tue Oct 10 12:50:10 2017 +0300
@@ -234,6 +234,7 @@
enable=$enable,C0112 # (empty-docstring)
enable=$enable,W0631 # (undefined-loop-variable) Using possibly undefined loop variable 'X'
enable=$enable,W0104 # (pointless-statement) Statement seems to have no effect
+ enable=$enable,W0107 # (unnecessary-pass) Unnecessary pass statement
# enable=
options=