root/releases/pkgcore/0.2.7/pylint
@
marienz%2540gentoo.org-20061106184003-51394fa1c39c750e
| Revision marienz%2540gentoo.org-20061106184003-51394fa1c39c750e, 393 bytes (checked in by Marien Zwart <marienz@…>, 2 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/usr/bin/env python |
| 2 | |
| 3 | """Wrapper that adds our custom pylintrc and plugin.""" |
| 4 | |
| 5 | import sys |
| 6 | import os.path |
| 7 | |
| 8 | sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'lintplugin')) |
| 9 | |
| 10 | from pylint import lint |
| 11 | |
| 12 | try: |
| 13 | lint.Run(['--rcfile', os.path.join( |
| 14 | os.path.dirname(__file__), 'dev-notes', 'pylintrc')] + |
| 15 | sys.argv[1:]) |
| 16 | except KeyboardInterrupt: |
| 17 | sys.exit(1) |
Note: See TracBrowser
for help on using the browser.
