[Ironpython-users] static analysis tool
Joseph Mortensen
jmortensen at bungie.com
Wed Oct 15 00:43:57 CEST 2014
Could anyone link me on how to use PTVS's analyzer?
From: Dino Viehland [mailto:dinov at microsoft.com]
Sent: Tuesday, September 30, 2014 8:12 PM
To: Joseph Mortensen; ironpython-users at python.org
Subject: RE: static analysis tool
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.com at python.org] On Behalf Of Joseph Mortensen
Sent: Tuesday, September 30, 2014 10:29 AM
To: ironpython-users at python.org<mailto:ironpython-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20141014/7387f1b8/attachment.html>
More information about the Ironpython-users
mailing list