This is necessary for Python 3, which does not allow implicit relative imports. However, for each action in a pack, ST2 itself adds actions/lib to PYTHONPACK, so what looks like an implicit relative import is not actually.
For testing, since that module is not actually importable, pylint needs to be told to ignore that "missing" module.
This should fix the following Python 3 pack build failures:
Uses https://github.com/StackStorm/lint-configs/blob/master/python/.pylintrc-exchange, which adds
lib
toignored-modules
.This is necessary for Python 3, which does not allow implicit relative imports. However, for each action in a pack, ST2 itself adds
actions/lib
toPYTHONPACK
, so what looks like an implicit relative import is not actually.For testing, since that module is not actually importable, pylint needs to be told to ignore that "missing" module.
This should fix the following Python 3 pack build failures: