dev/have-pylint
raw| 1 | #!/bin/sh |
| 2 | """": # -*-python-*- |
| 3 | bup_exec="$(dirname "$0")/bup-exec" || exit $? |
| 4 | exec "$bup_exec" "$0" ${1+"$@"} |
| 5 | """ |
| 6 | |
| 7 | from __future__ import absolute_import, print_function |
| 8 | |
| 9 | import sys |
| 10 | |
| 11 | try: |
| 12 | import pylint |
| 13 | except ImportError as ex: |
| 14 | sys.exit(1) |
| 15 | except BaseException as ex: |
| 16 | print(ex, file=sys.stderr) |
| 17 | sys.exit(2) |