> My task is basically to find all python scripts in the source repository and > run pylint on each.
The best way to do that is to make your scripts (almost) look like any other module in your package, and then either start them via "python -m yourpkg.scripts.foo", or use "console_scripts" entry points (which conveniently causes setuptools/distribute to auto-generate wrapper scripts for the target platform). For pylint the scripts then ARE like any other module. Just make sure you follow the __name__ == "__main__" idiom, i.e. have your scripts importable and w/o any top-level logic. _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
