core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since da1c8d1 was
823e620,
checked in by Paul Kienzle <pkienzle@…>, 9 years ago
|
delint
|
-
Property mode set to
100644
|
File size:
435 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.startswith('numpy'): |
---|
10 | if module.name == 'numpy': |
---|
11 | import numpy |
---|
12 | elif module.name == 'numpy.random': |
---|
13 | import numpy.random |
---|
14 | from numpy.random import seed, get_state, set_state |
---|
15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.