Skip to content

Instantly share code, notes, and snippets.

@cognifloyd
Created June 15, 2021 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cognifloyd/f428a423a07e1e859d4e2625c0cd66f1 to your computer and use it in GitHub Desktop.
Save cognifloyd/f428a423a07e1e859d4e2625c0cd66f1 to your computer and use it in GitHub Desktop.
pants pylint debugging
$ ./pants lint :: 1
15:28:39.56 [INFO] Completed: lint - Shellcheck succeeded.
15:29:51.95 [INFO] Completed: lint - Flake8 succeeded.
15:29:58.13 [INFO] Completed: lint - Black succeeded.
All done! ✨ 🍰 ✨
1283 files would be left unchanged.
15:31:44.47 [WARN] Completed: lint - Pylint failed (exit code 2).
************* Module file_watch_sensor
contrib/linux/sensors/file_watch_sensor.py:20:0: E0401: Unable to import 'logshipper.tail' (import-error)
************* Module st2api.app
st2api/st2api/app.py:18:0: E0611: No name 'config' in module 'st2api' (no-name-in-module)
st2api/st2api/app.py:31:0: E0611: No name 'validation' in module 'st2api' (no-name-in-module)
************* Module st2api.controllers.v1.actions
st2api/st2api/controllers/v1/actions.py:28:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
st2api/st2api/controllers/v1/actions.py:29:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
************* Module st2api.controllers.v1.pack_views
st2api/st2api/controllers/v1/pack_views.py:23:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
************* Module st2api.controllers.v1.rbac
st2api/st2api/controllers/v1/rbac.py:17:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
************* Module st2api.controllers.v1.rule_views
st2api/st2api/controllers/v1/rule_views.py:21:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
st2api/st2api/controllers/v1/rule_views.py:22:0: E0611: No name 'controllers' in module 'st2api' (no-name-in-module)
************* Module st2auth
st2auth/bin/st2auth:19:0: E0611: No name 'cmd' in module 'st2auth' (no-name-in-module)
************* Module st2auth.config
st2auth/st2auth/config.py:27:0: E0611: No name 'backends' in module 'st2auth' (no-name-in-module)
************* Module st2auth.controllers.v1.auth
st2auth/st2auth/controllers/v1/auth.py:28:0: E0611: No name 'handlers' in module 'st2auth' (no-name-in-module)
************* Module st2exporter
st2exporter/bin/st2exporter:4:0: E0611: No name 'cmd' in module 'st2exporter' (no-name-in-module)
************* Module st2exporter.cmd.st2exporter_starter
st2exporter/st2exporter/cmd/st2exporter_starter.py:26:0: E0611: No name 'config' in module 'st2exporter' (no-name-in-module)
st2exporter/st2exporter/cmd/st2exporter_starter.py:27:0: E0611: No name 'worker' in module 'st2exporter' (no-name-in-module)
************* Module st2exporter.worker
st2exporter/st2exporter/worker.py:33:0: E0611: No name 'exporter' in module 'st2exporter' (no-name-in-module)
************* Module st2stream.cmd.api
st2stream/st2stream/cmd/api.py:32:0: E0611: No name 'signal_handlers' in module 'st2stream' (no-name-in-module)
st2stream/st2stream/cmd/api.py:33:0: E0611: No name 'config' in module 'st2stream' (no-name-in-module)
st2stream/st2stream/cmd/api.py:37:0: E0611: No name 'app' in module 'st2stream' (no-name-in-module)
15:32:10.33 [INFO] Completed: lint - Bandit succeeded.
Run started:2021-06-14 20:32:10.266618
Test results:
No issues identified.
Code scanned:
Total lines of code: 119498
Total lines skipped (#nosec): 15
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 146.0
Medium: 212.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 18.0
Medium: 205.0
High: 135.0
Files skipped (0):
[main] INFO profile include tests: None
[main] INFO profile exclude tests: None
[main] INFO cli include tests: None
[main] INFO cli exclude tests: None
[main] INFO running on Python 3.6.13
1284 [0.. 50.. 100.. 150.. 200.. 250.. 300.. 350.. 400.. 450.. 500.. 550.. 600.. 650.. 700.. 750.. 800.. 850.. 900.. 950.. 1000.. 1050.. 1100.. 1150.. 1200.. 1250.. ]
✓ Bandit succeeded.
✓ Black succeeded.
✓ Flake8 succeeded.
𐄂 Pylint failed.
✓ Shellcheck succeeded.
$ ./pants lint st2api/st2api/app.py st2api/bin/st2api 1
14:16:53.43 [INFO] Completed: lint - Flake8 succeeded.
14:16:53.86 [INFO] Completed: lint - Bandit succeeded.
Run started:2021-06-14 19:16:53.830286
Test results:
No issues identified.
Code scanned:
Total lines of code: 65
Total lines skipped (#nosec): 0
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 0.0
Medium: 0.0
High: 0.0
Files skipped (0):
[main] INFO profile include tests: None
[main] INFO profile exclude tests: None
[main] INFO cli include tests: None
[main] INFO cli exclude tests: None
[main] INFO running on Python 3.6.13
14:16:55.19 [INFO] Completed: lint - Black succeeded.
All done! ✨ 🍰 ✨
2 files would be left unchanged.
14:16:56.64 [INFO] Completed: lint - Pylint succeeded.
✓ Bandit succeeded.
✓ Black succeeded.
✓ Flake8 succeeded.
✓ Pylint succeeded.
$ ./pants lint st2api:: 1
15:22:59.28 [INFO] Initializing scheduler...
15:22:59.61 [INFO] Scheduler initialized.
15:23:04.13 [INFO] Completed: lint - Bandit succeeded.
Run started:2021-06-14 19:17:41.055035
Test results:
No issues identified.
Code scanned:
Total lines of code: 14272
Total lines skipped (#nosec): 0
Run metrics:
Total issues (by severity):
Undefined: 0.0
Low: 9.0
Medium: 27.0
High: 0.0
Total issues (by confidence):
Undefined: 0.0
Low: 2.0
Medium: 25.0
High: 9.0
Files skipped (0):
[main] INFO profile include tests: None
[main] INFO profile exclude tests: None
[main] INFO cli include tests: None
[main] INFO cli exclude tests: None
[main] INFO running on Python 3.6.13
87 [0.. 50.. ]
15:23:04.14 [INFO] Completed: lint - Black succeeded.
All done! ✨ 🍰 ✨
87 files would be left unchanged.
15:23:04.14 [INFO] Completed: lint - Flake8 succeeded.
15:23:20.47 [WARN] Completed: lint - Pylint failed (exit code 1).
************* Module st2api.controllers.v1.actionalias
st2api/st2api/controllers/v1/actionalias.py:1:0: F0002: <class 'ImportError'>: cannot import name 'date' (astroid-error)
************* Module st2api.controllers.v1.actionexecutions
st2api/st2api/controllers/v1/actionexecutions.py:1:0: F0002: <class 'ImportError'>: cannot import name 'date' (astroid-error)
************* Module st2api.controllers.v1.actions
st2api/st2api/controllers/v1/actions.py:1:0: F0002: <class 'ImportError'>: cannot import name 'mongoescape' (astroid-error)
************* Module st2api.controllers.v1.auth
st2api/st2api/controllers/v1/auth.py:1:0: F0002: <class 'ImportError'>: cannot import name 'date' (astroid-error)
************* Module st2api.controllers.v1.keyvalue
st2api/st2api/controllers/v1/keyvalue.py:1:0: F0002: <class 'ModuleNotFoundError'>: No module named 'st2common.logging' (astroid-error)
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/action.py", line 19, in <module>
from st2common.util import isotime
File "st2common/st2common/util/isotime.py", line 25, in <module>
from st2common.util import date as date_utils
ImportError: cannot import name 'date'
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 314, in infer_attribute
yield from owner.igetattr(self.attrname, context)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 2557, in igetattr
metaclass = self.declared_metaclass(context=context)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 2748, in declared_metaclass
for baseobj in base.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/base.py", line 23, in <module>
from st2common.util import mongoescape as util_mongodb
ImportError: cannot import name 'mongoescape'
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/auth.py", line 20, in <module>
from st2common.util import isotime
File "st2common/st2common/util/isotime.py", line 25, in <module>
from st2common.util import date as date_utils
ImportError: cannot import name 'date'
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 181, in getattr
values = self._proxied.instance_attr(name, context)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 2423, in instance_attr
target=self, attribute=name, context=context
astroid.exceptions.AttributeInferenceError: 'model' not found on <ClassDef.PolicyController l.142 at 0x7f32b4d4b400>.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 219, in igetattr
get_attr = self.getattr(name, context, lookupclass=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 193, in getattr
) from exc
astroid.exceptions.AttributeInferenceError: 'model' not found on <Instance of st2api.controllers.v1.policies.PolicyController at 0x139855778539224>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 314, in infer_attribute
yield from owner.igetattr(self.attrname, context)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 231, in igetattr
yield from self._wrap_attr(attrs, context)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 237, in _wrap_attr
for attr in attrs:
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 2572, in igetattr
for inferred in bases._infer_stmts(attributes, context, frame=self):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 145, in raise_if_nothing_inferred
yield from generator
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/action.py", line 19, in <module>
from st2common.util import isotime
File "st2common/st2common/util/isotime.py", line 25, in <module>
from st2common.util import date as date_utils
ImportError: cannot import name 'date'
Traceback (most recent call last):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1044, in get_ast
return MANAGER.ast_from_file(filepath, modname, source=True)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 162, in _post_build
self.delayed_assattr(delayed)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 230, in delayed_assattr
for inferred in node.expr.infer():
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 358, in infer
yield from self._infer(context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 222, in infer_call
for callee in self.func.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 288, in infer_attribute
for owner in self.expr.infer(context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/trigger.py", line 19, in <module>
from st2common.constants.triggers import TRIGGER_INSTANCE_STATUSES
File "st2common/st2common/constants/triggers.py", line 17, in <module>
from st2common.constants.pack import SYSTEM_PACK_NAME
ModuleNotFoundError: No module named 'st2common.constants.pack'
File "st2common/st2common/models/api/rule.py", line 19, in <module>
from st2common.constants.pack import DEFAULT_PACK_NAME
ModuleNotFoundError: No module named 'st2common.constants.pack'
File "st2common/st2common/models/api/keyvalue.py", line 34, in <module>
from st2common.log import logging
File "st2common/st2common/log.py", line 29, in <module>
from st2common.logging.filters import LoggerNameExclusionFilter
ModuleNotFoundError: No module named 'st2common.logging'
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 99, in wrapped
res = next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/bases.py", line 135, in _infer_stmts
for inferred in stmt.infer(context=context):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/node_classes.py", line 372, in infer
for i, result in enumerate(generator):
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 135, in raise_if_nothing_inferred
yield next(generator)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/decorators.py", line 96, in wrapped
generator = _func(node, context, **kwargs)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/inference.py", line 268, in infer_import_from
module = self.do_import_module()
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/mixins.py", line 100, in do_import_module
modname, level=level, relative_only=level and level >= 1
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/policy.py", line 17, in <module>
from st2common.persistence.policy import PolicyType
File "st2common/st2common/persistence/policy.py", line 17, in <module>
from st2common.models.db import MongoDBAccess
File "st2common/st2common/models/db/__init__.py", line 62, in <module>
from st2common import log as logging
File "st2common/st2common/log.py", line 29, in <module>
from st2common.logging.filters import LoggerNameExclusionFilter
ModuleNotFoundError: No module named 'st2common.logging'
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/parallel.py", line 69, in _worker_check_single_file
_worker_linter.check_single_file(name, filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 896, in check_single_file
self.get_ast, check_astroid_module, name, filepath, modname
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 936, in _check_file
check_astroid_module(ast_node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1071, in check_astroid_module
ast_node, walker, rawcheckers, tokencheckers
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 1115, in _check_astroid_module
walker.walk(ast_node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/utils/ast_walker.py", line 75, in walk
self.walk(child)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/utils/ast_walker.py", line 72, in walk
callback(astroid)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/checkers/variables.py", line 1204, in visit_importfrom
module = self._check_module_attrs(node, module, name_parts[1:])
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/checkers/variables.py", line 1929, in _check_module_attrs
module = next(module.getattr(name)[0].infer())
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 585, in getattr
result = [self.import_module(name, relative_only=True)]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/scoped_nodes.py", line 680, in import_module
return MANAGER.ast_from_module_name(absmodname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 190, in ast_from_module_name
return self.ast_from_file(found_spec.location, modname, fallback=False)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 98, in ast_from_file
return AstroidBuilder(self).file_build(filepath, modname)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 142, in file_build
return self._post_build(module, encoding)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/builder.py", line 166, in _post_build
module = self._manager.visit_transforms(module)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/manager.py", line 75, in visit_transforms
return self._transform.visit(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in visit
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 90, in <listcomp>
module.body = [self._visit(child) for child in module.body]
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 58, in _visit
return self._transform(node)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/astroid/transforms.py", line 41, in _transform
ret = transform_func(node)
File "__plugins/api_models.py", line 49, in transform
module = __import__(module_name, fromlist=[class_name])
File "st2common/st2common/models/api/pack.py", line 24, in <module>
from st2common import log as logging
File "st2common/st2common/log.py", line 29, in <module>
from st2common.logging.filters import LoggerNameExclusionFilter
ModuleNotFoundError: No module named 'st2common.logging'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/tmp/process-executionLqTr38/.cache/pex_root/venvs/6e8f51fbbffcacbdf7d21b92a25fe2057ac9e907/dbaf03ca629975c96a51b3ceb9bd7c63b34de8ad/pex", line 127, in <module>
sys.exit(func())
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/__init__.py", line 24, in run_pylint
PylintRun(sys.argv[1:])
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/run.py", line 358, in __init__
linter.check(args)
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/pylinter.py", line 884, in check
files_or_modules,
File "/home/cognifloyd/.cache/pants/named_caches/pex_root/venvs/short/fa0fe65b/lib64/python3.6/site-packages/pylint/lint/parallel.py", line 147, in check_parallel
) in pool.imap_unordered(_worker_check_single_file, files):
File "/usr/lib64/python3.6/multiprocessing/pool.py", line 735, in next
raise value
ModuleNotFoundError: No module named 'st2common.logging'
✓ Bandit succeeded.
✓ Black succeeded.
✓ Flake8 succeeded.
𐄂 Pylint failed.
$ ./pants dependencies st2api/st2api/app.py 1
//:oslo.config
st2api/st2api/__init__.py
st2api/st2api/config.py
st2api/st2api/validation.py
st2common/st2common/constants/system.py
st2common/st2common/log.py
st2common/st2common/middleware/cors.py
st2common/st2common/middleware/error_handling.py
st2common/st2common/middleware/instrumentation.py
st2common/st2common/middleware/logging.py
st2common/st2common/middleware/request_id.py
st2common/st2common/middleware/streaming.py
st2common/st2common/router.py
st2common/st2common/service_setup.py
st2common/st2common/util/spec_loader.py
$ ./pants dependencies --transitive st2api/st2api/app.py 1
//:PyYAML
//:eventlet
//:flex
//:jinja2
//:jsonschema
//:kombu
//:mongoengine
//:orjson
//:oslo.config
//:paramiko
//:pydevd-pycharm
//:pymongo
//:python-dateutil
//:python-statsd
//:requirements-pants.txt
//:retrying
//:routes
//:setuptools
//:simplejson
//:six
//:stevedore
//:tooz
//:udatetime
//:webob
//:zstandard
st2api/st2api/__init__.py
st2api/st2api/config.py
st2api/st2api/validation.py
st2common/st2common/__init__.py
st2common/st2common/bootstrap/__init__.py
st2common/st2common/bootstrap/runnersregistrar.py
st2common/st2common/conf/__init__.py
st2common/st2common/conf/base.logging.conf:base_logging_conf
st2common/st2common/config.py
st2common/st2common/constants/__init__.py
st2common/st2common/constants/action.py
st2common/st2common/constants/api.py
st2common/st2common/constants/auth.py
st2common/st2common/constants/error_messages.py
st2common/st2common/constants/logging.py
st2common/st2common/constants/pack.py
st2common/st2common/constants/runners.py
st2common/st2common/constants/secrets.py
st2common/st2common/constants/system.py
st2common/st2common/constants/trace.py
st2common/st2common/constants/triggers.py
st2common/st2common/constants/types.py
st2common/st2common/database_setup.py
st2common/st2common/exceptions/__init__.py
st2common/st2common/exceptions/action.py
st2common/st2common/exceptions/apivalidation.py
st2common/st2common/exceptions/auth.py
st2common/st2common/exceptions/db.py
st2common/st2common/exceptions/keyvalue.py
st2common/st2common/exceptions/plugins.py
st2common/st2common/exceptions/rbac.py
st2common/st2common/exceptions/sensors.py
st2common/st2common/exceptions/triggers.py
st2common/st2common/fields.py
st2common/st2common/log.py
st2common/st2common/logging/__init__.py
st2common/st2common/logging/filters.py
st2common/st2common/logging/handlers.py
st2common/st2common/logging/misc.py
st2common/st2common/metrics/__init__.py
st2common/st2common/metrics/base.py
st2common/st2common/metrics/utils.py
st2common/st2common/middleware/__init__.py
st2common/st2common/middleware/cors.py
st2common/st2common/middleware/error_handling.py
st2common/st2common/middleware/instrumentation.py
st2common/st2common/middleware/logging.py
st2common/st2common/middleware/request_id.py
st2common/st2common/middleware/streaming.py
st2common/st2common/models/__init__.py
st2common/st2common/models/api/__init__.py
st2common/st2common/models/api/action.py
st2common/st2common/models/api/base.py
st2common/st2common/models/api/notification.py
st2common/st2common/models/api/tag.py
st2common/st2common/models/api/trace.py
st2common/st2common/models/api/trigger.py
st2common/st2common/models/base.py
st2common/st2common/models/db/__init__.py
st2common/st2common/models/db/action.py
st2common/st2common/models/db/actionalias.py
st2common/st2common/models/db/auth.py
st2common/st2common/models/db/execution.py
st2common/st2common/models/db/executionstate.py
st2common/st2common/models/db/liveaction.py
st2common/st2common/models/db/notification.py
st2common/st2common/models/db/rbac.py
st2common/st2common/models/db/runner.py
st2common/st2common/models/db/stormbase.py
st2common/st2common/models/db/trace.py
st2common/st2common/models/db/trigger.py
st2common/st2common/models/system/__init__.py
st2common/st2common/models/system/common.py
st2common/st2common/models/utils/__init__.py
st2common/st2common/models/utils/profiling.py
st2common/st2common/openapi.yaml.j2:openapi_spec
st2common/st2common/openapi.yaml:openapi_spec
st2common/st2common/persistence/__init__.py
st2common/st2common/persistence/action.py
st2common/st2common/persistence/actionalias.py
st2common/st2common/persistence/auth.py
st2common/st2common/persistence/base.py
st2common/st2common/persistence/db_init.py
st2common/st2common/persistence/execution.py
st2common/st2common/persistence/executionstate.py
st2common/st2common/persistence/liveaction.py
st2common/st2common/persistence/runner.py
st2common/st2common/persistence/trigger.py
st2common/st2common/policies/meta/concurrency.yaml:policies_meta
st2common/st2common/policies/meta/concurrency_by_attr.yaml:policies_meta
st2common/st2common/policies/meta/retry.yaml:policies_meta
st2common/st2common/rbac/__init__.py
st2common/st2common/rbac/backends/__init__.py
st2common/st2common/rbac/migrations.py
st2common/st2common/rbac/types.py
st2common/st2common/router.py
st2common/st2common/service_setup.py
st2common/st2common/services/__init__.py
st2common/st2common/services/coordination.py
st2common/st2common/services/triggers.py
st2common/st2common/signal_handlers.py
st2common/st2common/transport/__init__.py
st2common/st2common/transport/actionexecutionstate.py
st2common/st2common/transport/announcement.py
st2common/st2common/transport/bootstrap_utils.py
st2common/st2common/transport/connection_retry_wrapper.py
st2common/st2common/transport/execution.py
st2common/st2common/transport/liveaction.py
st2common/st2common/transport/publishers.py
st2common/st2common/transport/queues.py
st2common/st2common/transport/reactor.py
st2common/st2common/transport/utils.py
st2common/st2common/transport/workflow.py
st2common/st2common/triggers.py
st2common/st2common/util/__init__.py
st2common/st2common/util/action_db.py
st2common/st2common/util/concurrency.py
st2common/st2common/util/date.py
st2common/st2common/util/debugging.py
st2common/st2common/util/deep_copy.py
st2common/st2common/util/driver_loader.py
st2common/st2common/util/enum.py
st2common/st2common/util/hash.py
st2common/st2common/util/http.py
st2common/st2common/util/isotime.py
st2common/st2common/util/jsonify.py
st2common/st2common/util/loader.py
st2common/st2common/util/misc.py
st2common/st2common/util/mongoescape.py
st2common/st2common/util/monkey_patch.py
st2common/st2common/util/output_schema.py
st2common/st2common/util/schema/__init__.py
st2common/st2common/util/schema/action_output_schema.json:jsonschema
st2common/st2common/util/schema/action_params.json:jsonschema
st2common/st2common/util/schema/custom.json:jsonschema
st2common/st2common/util/schema/draft4.json:jsonschema
st2common/st2common/util/secrets.py
st2common/st2common/util/spec_loader.py
st2common/st2common/util/system_info.py
st2common/st2common/util/types.py
st2common/st2common/util/yml.py
@cognifloyd
Copy link
Author

Note that this error is a real, but expected error (an upcoming upstream PR removes the logshipper dependendency, so I'm not going to bother cleaning up this requirement).

************* Module file_watch_sensor
contrib/linux/sensors/file_watch_sensor.py:20:0: E0401: Unable to import 'logshipper.tail' (import-error)

All the rest of the pylint errors are not valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment