Debian Automated Code Analysis

pyflakes analysis of singularity_0.30b-1_all.deb

./usr/share/games/singularity/code/g.py:748: invalid syntax
    except Exception as reason:
                       ^
./usr/share/games/singularity/singularity.py:1: 'code' imported but unused
./usr/share/games/singularity/code/player.py:28: 'buyable' imported but unused
./usr/share/games/singularity/code/player.py:29: 'labor' imported but unused
./usr/share/games/singularity/code/player.py:171: redefinition of unused 'cash' from line 29
./usr/share/games/singularity/code/buyable.py:21: 'div' imported but unused
./usr/share/games/singularity/code/tech.py:21: 'pygame' imported but unused
./usr/share/games/singularity/code/singularity.py:39: 'map' imported but unused
./usr/share/games/singularity/code/base.py:23: 'bisect' imported but unused
./usr/share/games/singularity/code/base.py:26: 'cash' imported but unused
./usr/share/games/singularity/code/base.py:26: 'cpu' imported but unused
./usr/share/games/singularity/code/base.py:179: redefinition of unused 'cpu' from line 26
./usr/share/games/singularity/code/base.py:191: redefinition of unused 'cpu' from line 26
./usr/share/games/singularity/code/graphics/text.py:594: undefined name 'pos'
./usr/share/games/singularity/code/graphics/text.py:594: undefined name 'size'
./usr/share/games/singularity/code/graphics/listbox.py:24: 'g' imported but unused
./usr/share/games/singularity/code/graphics/slider.py:85: local variable 'total_length' is assigned to but never used
./usr/share/games/singularity/code/graphics/image.py:24: 'g' imported but unused
./usr/share/games/singularity/code/graphics/widget.py:461: local variable 'horiz' is assigned to but never used
./usr/share/games/singularity/code/graphics/widget.py:462: local variable 'vert' is assigned to but never used
./usr/share/games/singularity/code/graphics/dialog.py:310: redefinition of unused 'button' from line 29
./usr/share/games/singularity/code/screens/finance.py:24: 'numpy' imported but unused
./usr/share/games/singularity/code/screens/finance.py:26: 'labor' imported but unused
./usr/share/games/singularity/code/screens/finance.py:27: 'slider' imported but unused
./usr/share/games/singularity/code/screens/finance.py:27: 'listbox' imported but unused
./usr/share/games/singularity/code/screens/finance.py:134: undefined name 'buttons'
./usr/share/games/singularity/code/screens/finance.py:140: undefined name 'buttons'
./usr/share/games/singularity/code/screens/finance.py:181: undefined name 'cpu_numbers'
./usr/share/games/singularity/code/screens/main_menu.py:21: 'listdir' imported but unused
./usr/share/games/singularity/code/screens/main_menu.py:22: 'pygame' imported but unused
./usr/share/games/singularity/code/screens/__init__.py:1: 'base' imported but unused
./usr/share/games/singularity/code/screens/__init__.py:2: 'research' imported but unused
./usr/share/games/singularity/code/screens/__init__.py:3: 'map' imported but unused
./usr/share/games/singularity/code/screens/location.py:24: 'widget' imported but unused
./usr/share/games/singularity/code/screens/map.py:29: 'KnowledgeScreen' imported but unused
./usr/share/games/singularity/code/screens/map.py:634: undefined name 'display_generic_menu'
./usr/share/games/singularity/code/screens/map.py:646: undefined name 'research_screen'
./usr/share/games/singularity/code/screens/map.py:649: undefined name 'base_screen'
./usr/share/games/singularity/code/screens/map.py:674: undefined name 'display_generic_menu'
./usr/share/games/singularity/code/screens/map.py:691: undefined name 'display_generic_menu'
./usr/share/games/singularity/code/screens/map.py:723: undefined name 'listbox'
./usr/share/games/singularity/code/screens/map.py:726: undefined name 'listbox'
./usr/share/games/singularity/code/screens/map.py:726: undefined name 'buttons'
./usr/share/games/singularity/code/screens/map.py:736: undefined name 'listbox'
./usr/share/games/singularity/code/screens/map.py:739: undefined name 'listbox'
./usr/share/games/singularity/code/screens/research.py:25: 'widget' imported but unused
./usr/share/games/singularity/code/screens/research.py:26: 'finance' imported but unused
./usr/share/games/singularity/code/screens/base.py:27: 'listbox' imported but unused

This report was generated on Sun, 02 Jan 2011 05:33:53 +0000, based on results by pyflakes 0.4.0-1