source:
sasmodels/extra/pylint_pyopencl.py
@
4c8cf97
Last change on this file since 4c8cf97 was 823e620, checked in by Paul Kienzle <pkienzle@…>, 9 years ago | |
---|---|
|
|
File size: 282 bytes |
Line | |
---|---|
1 | from astroid import MANAGER |
2 | from astroid import nodes |
3 | |
4 | def register(linter): |
5 | MANAGER.register_transform(nodes.Module, transform) |
6 | |
7 | def transform(module): |
8 | #print("processing",module.name) |
9 | if module.name == 'pyopencl': |
10 | import pyopencl |
11 | import pyopencl as cl |
Note: See TracBrowser
for help on using the repository browser.