Last change
on this file since 2694cb8 was
b669b49,
checked in by Paul Kienzle <pkienzle@…>, 7 years ago
|
let pylint know about sas module
|
-
Property mode set to
100644
|
File size:
363 bytes
|
Rev | Line | |
---|
[b669b49] | 1 | import sys |
---|
| 2 | |
---|
| 3 | # Fake the existence of 'sas' module |
---|
| 4 | class SasDataloaderLoader: |
---|
| 5 | pass |
---|
| 6 | class SasDataloader: |
---|
| 7 | loader = SasDataloaderLoader() |
---|
| 8 | class Sas: |
---|
| 9 | dataloader = SasDataloader() |
---|
| 10 | sas = Sas() |
---|
| 11 | |
---|
| 12 | sys.modules['sas'] = sas |
---|
| 13 | sys.modules['sas.dataloader'] = sas.dataloader |
---|
| 14 | sys.modules['sas.dataloader.loader'] = sas.dataloader.loader |
---|
| 15 | |
---|
| 16 | def register(linter): |
---|
| 17 | pass |
---|
Note: See
TracBrowser
for help on using the repository browser.