C
Chris Jarshant
All,
Is there a tool out there that can statically look at
python code (e.g. a directory of .py files) and determine
if it uses any Python library APIs that do not exist
(or are dangerous) on various platforms?
Specifically, I'd like to have a tool that can be run on
Unix (say, Solaris), and tell me whether my code calls APIs
that will fail (or are dangerous) on Windows and/or Darwin
(or even Linux). I'd like to be able to give this to developers
and say "run this on your changes before integrating" so that
we can catch a lot of potential bugs up front.
Is there a way to configure pylint (or something similar) to
do this? Thanks!
cj
Is there a tool out there that can statically look at
python code (e.g. a directory of .py files) and determine
if it uses any Python library APIs that do not exist
(or are dangerous) on various platforms?
Specifically, I'd like to have a tool that can be run on
Unix (say, Solaris), and tell me whether my code calls APIs
that will fail (or are dangerous) on Windows and/or Darwin
(or even Linux). I'd like to be able to give this to developers
and say "run this on your changes before integrating" so that
we can catch a lot of potential bugs up front.
Is there a way to configure pylint (or something similar) to
do this? Thanks!
cj