# HG changeset patch
# User Andrey Skvortsov <andrej.skvortzov@gmail.com>
# Date 1507629010 -10800
# Node ID 524ff4dbb7d96b3111b88630ad08866287f0f37a
# Parent  c2cba67145ebeea72cd33b78c0a0b9d25dd2867f
remove old code useless code found by pylint  "(unnecessary-pass) Unnecessary pass statement"

diff -r c2cba67145eb -r 524ff4dbb7d9 graphics/GraphicCommons.py
--- 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:
diff -r c2cba67145eb -r 524ff4dbb7d9 tests/tools/check_source.sh
--- 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=