| #!/usr/bin/env python3 | |
| # Copyright 2018 The ChromiumOS Authors | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| """Wrapper to run pylint with the right sys.path.""" | |
| import sys | |
| import ssh_client | |
| import libdot # pylint: disable=wrong-import-order | |
| if __name__ == "__main__": | |
| sys.exit( | |
| libdot.pylint.main(sys.argv[1:], pythonpaths=(ssh_client.BIN_DIR,)) | |
| ) |