Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#101 lots of warnings from pyflakes

open
nobody
None
5
2012-01-01
2012-01-01
Paul Wise
No

src/Texture.py:29: 'StringIO' imported but unused
src/Texture.py:30: 'PngImagePlugin' imported but unused
src/Texture.py:31: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Texture.py:32: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/Texture.py:38: 'from glew import *' used; unable to detect undefined names
src/Video.py:24: 'os' imported but unused
src/Video.py:25: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Video.py:26: 'from OpenGL.GL.ARB.multisample import *' used; unable to detect undefined names
src/Engine.py:25: 'Network' imported but unused
src/Engine.py:26: 'Object' imported but unused
src/Engine.py:27: 'World' imported but unused
src/Engine.py:29: 'Task' imported but unused
src/Engine.py:71: local variable 'found' is assigned to but never used
src/Editor.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Editor.py:25: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/Editor.py:27: 'colorsys' imported but unused
src/Editor.py:34: 'Choice' imported but unused
src/Editor.py:600: local variable 'blockSize' is assigned to but never used
src/Dialogs.py:26: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Dialogs.py:27: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/Dialogs.py:793: local variable 'accepted' is assigned to but never used
src/Dialogs.py:861: local variable 'accepted' is assigned to but never used
src/FretsOnFire.py:31: 'ctypes' imported but unused
src/FretsOnFire.py:32: 'util' imported but unused
src/ViewTest.py:25: 'View' imported but unused
src/Stage.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Stage.py:26: 'Log' imported but unused
src/Mod.py:43: local variable 'e' is assigned to but never used
src/Scene.py:29: redefinition of unused 'Player' from line 23
src/Scene.py:32: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Scene.py:33: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/Scene.py:34: 'math' imported but unused
src/Scene.py:35: 'colorsys' imported but unused
src/Scene.py:36: 'pygame' imported but unused
src/Scene.py:144: local variable 'font' is assigned to but never used
src/SceneFactory.py:24: 'glob' imported but unused
src/MainMenu.py:23: 'from OpenGL.GL import *' used; unable to detect undefined names
src/MainMenu.py:32: 'SvgDrawing' imported but unused
src/MainMenu.py:35: 'Config' imported but unused
src/MainMenu.py:54: local variable 'newMultiplayerMenu' is assigned to but never used
src/SceneTest.py:24: 'time' imported but unused
src/SceneTest.py:27: 'Resource' imported but unused
src/NetworkTest.py:25: 'time' imported but unused
src/ServerTest.py:25: 'pickle' imported but unused
src/Session.py:27: 'Engine' imported but unused
src/Session.py:67: local variable 'e' is assigned to but never used
src/SvgTest.py:27: 'from OpenGL.GL import *' used; unable to detect undefined names
src/SvgTest.py:28: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/GameResultsScene.py:36: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Audio.py:47: undefined name 'pyglet'
src/Audio.py:80: undefined name 'pyglet'
src/Audio.py:81: undefined name 'pyglet'
src/Audio.py:92: undefined name 'pyglet'
src/Audio.py:94: undefined name 'pyglet'
src/Audio.py:151: undefined name 'pyglet'
src/Audio.py:152: undefined name 'pyglet'
src/Audio.py:157: undefined name 'pyglet'
src/Audio.py:159: undefined name 'pyglet'
src/Audio.py:285: undefined name 'ogg'
src/GameEngine.py:23: 'from OpenGL.GL import *' used; unable to detect undefined names
src/GameEngine.py:25: 'os' imported but unused
src/GameEngine.py:28: 'Task' imported but unused
src/GameEngine.py:37: 'LOW_QUALITY' imported but unused
src/GameEngine.py:37: 'SvgDrawing' imported but unused
src/GameEngine.py:37: 'HIGH_QUALITY' imported but unused
src/GameEngine.py:37: 'NORMAL_QUALITY' imported but unused
src/GameEngine.py:40: 'Network' imported but unused
src/GameEngine.py:168: local variable 'glw' is assigned to but never used
src/Guitar.py:28: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Guitar.py:176: local variable 'offset' is assigned to but never used
src/Guitar.py:365: local variable 'vertexCount' is assigned to but never used
src/Mesh.py:23: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Debug.py:23: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Debug.py:99: 'World' imported but unused
src/Credits.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Credits.py:25: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/Credits.py:102: local variable 'bf' is assigned to but never used
src/Credits.py:239: local variable 'font' is assigned to but never used
src/DialogTest.py:40: local variable 'text' is assigned to but never used
src/Camera.py:23: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/View.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/View.py:25: 'from OpenGL.GLU import *' used; unable to detect undefined names
src/World.py:229: undefined name 'objects'
src/Menu.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Server.py:26: 'pickle' imported but unused
src/DummyAmanith.py:25: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Collada.py:25: 'from xml.dom.minidom import *' used; unable to detect undefined names
src/Collada.py:26: 'from datetime import *' used; unable to detect undefined names
src/Collada.py:417: local variable 'sceneNodes' is assigned to but never used
src/Collada.py:1358: local variable 'writeTransform' is assigned to but never used
src/Collada.py:1359: local variable 'el' is assigned to but never used
src/Collada.py:3118: redefinition of function 'AppendChilds' from line 328
src/Settings.py:28: 'Audio' imported but unused
src/Settings.py:114: undefined name 'value'
src/Settings.py:115: local variable 'value' is assigned to but never used
src/Font.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Data.py:25: 'SvgContext' imported but unused
src/Data.py:26: redefinition of unused 'Texture' from line 24
src/Data.py:26: 'Texture' imported but unused
src/GameTask.py:28: 'Svg' imported but unused
src/GameTask.py:51: local variable 'player' is assigned to but never used
src/GameTask.py:59: local variable 'player' is assigned to but never used
src/GuitarScene.py:32: 'View' imported but unused
src/GuitarScene.py:33: 'Audio' imported but unused
src/GuitarScene.py:38: 'pygame' imported but unused
src/GuitarScene.py:39: 'random' imported but unused
src/GuitarScene.py:41: 'from OpenGL.GL import *' used; unable to detect undefined names
src/setup_mac.py:8: 'from setup import *' used; unable to detect undefined names
src/setup_mac.py:11: 'sys' imported but unused
src/setup_mac.py:12: 'amanith' imported but unused
src/Timer.py:24: 'time' imported but unused
src/Lobby.py:24: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Lobby.py:113: local variable 'd' is assigned to but never used
src/TimerTest.py:24: 'time' imported but unused
src/TimerTest.py:40: local variable 'ticks' is assigned to but never used
src/Config.py:92: local variable 'type' is assigned to but never used
src/SongChoosingScene.py:24: 'Player' imported but unused
src/Svg.py:26: 'from OpenGL.GL import *' used; unable to detect undefined names
src/Svg.py:27: 'transpose' imported but unused
src/Svg.py:32: 'TextureException' imported but unused
src/Svg.py:572: local variable 'parser' is assigned to but never used
src/ObjectTest.py:133: local variable 'o1' is assigned to but never used
src/ObjectTest.py:134: local variable 'o2' is assigned to but never used
src/Song.py:772: undefined name 'Done'
src/EngineTest.py:24: 'Engine' imported but unused
src/EngineTest.py:25: 'Player' imported but unused
src/EngineTest.py:26: 'World' imported but unused
src/EngineTest.py:27: 'Network' imported but unused
src/Theme.py:23: 'from OpenGL.GL import *' used; unable to detect undefined names
src/ResourceTest.py:24: 'time' imported but unused
src/midi/RawInstreamFile.py:4: 'StringType' imported but unused
src/midi/RawInstreamFile.py:5: 'unpack' imported but unused
src/midi/MidiToText.py:52: undefined name 'date'
src/midi/MidiFileParser.py:4: 'unpack' imported but unused
src/midi/MidiFileParser.py:8: 'from constants import *' used; unable to detect undefined names
src/midi/MidiFileParser.py:134: local variable 'eo_sysex' is assigned to but never used
src/midi/EventDispatcher.py:4: 'unpack' imported but unused
src/midi/EventDispatcher.py:7: 'readVar' imported but unused
src/midi/EventDispatcher.py:7: 'varLen' imported but unused
src/midi/EventDispatcher.py:11: 'from constants import *' used; unable to detect undefined names
src/midi/EventDispatcher.py:264: local variable 'e' is assigned to but never used
src/midi/__init__.py:3: 'MidiOutStream' imported but unused
src/midi/__init__.py:4: 'MidiOutFile' imported but unused
src/midi/__init__.py:5: 'MidiInStream' imported but unused
src/midi/__init__.py:6: 'MidiInFile' imported but unused
src/midi/__init__.py:7: 'MidiToText' imported but unused
src/midi/MidiOutFile.py:6: 'from constants import *' used; unable to detect undefined names
src/midi/RawOutstreamFile.py:6: 'unpack' imported but unused
src/midi/RawOutstreamFile.py:10: 'fromBytes' imported but unused
src/midi/RawOutstreamFile.py:40: local variable 'var' is assigned to but never used

Discussion