source: sasmodels/extra/pylint_pyopencl.py @ fb7c176

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since fb7c176 was 823e620, checked in by Paul Kienzle <pkienzle@…>, 9 years ago

delint

  • Property mode set to 100644
File size: 282 bytes
RevLine 
[3c56da87]1from astroid import MANAGER
2from astroid import nodes
3
4def register(linter):
5    MANAGER.register_transform(nodes.Module, transform)
6
7def transform(module):
8    #print("processing",module.name)
9    if module.name == 'pyopencl':
10        import pyopencl
[823e620]11        import pyopencl as cl
Note: See TracBrowser for help on using the repository browser.