Do you want to create your own static analysis rules or just use an existing checker? If it's the latter you could use PTVS's analyzer (I can point you to some example code if so). If it's the former we eventually want to add it to PTVS and when we do that we should pick up IronPython support for free. We'd also accept it as a contribution ;)
From: Ironpython-users [mailto:ironpython-users-bounces+dinov=microsoft....@python.org] On Behalf Of Joseph Mortensen Sent: Tuesday, September 30, 2014 10:29 AM To: ironpython-users@python.org Subject: [Ironpython-users] static analysis tool I'm trying to static analysis on python code that has very heavy usage of .NET libraries. I've seen pyflakes, pylint, and pychecker as the main tools to do this stuff in python, but I haven't gotten any of them working properly with IronPython in windows. Are there any recommendations for something that could analyze: import clr clr.AddReference("System") from System import String stuff = String("my string") print stuff stuff.ThisDoesntExist() without tripping up on the System and String imports and find that "stuff.ThisDoesntExist()" doesn't actually exist? Thanks, Joe
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users