The IMO best solution would be to set some parts of the tracking code variable. You could do something along the lines of, "if development system, track to Piwik website ID 1; if production system, track to ID 2". Another setting you could set variable would be the url of the Piwik installation, to do something along the lines of, "if development system, track to local dev installation of Piwik; if production system, track to prod installation".
That way you can kill two birds with one stone: You can keep the development installation from "polluting" your production data, while you can still see if the tracking data from the development system is generated correctly. With more site ID tracked in Piwik and/or more Piwik installations, as it would fit your needs, you can also handle more environments than "only" development and production, like test, staging etc.