source: sasmodels/extra/pylint_sas.py @ 1657e21

Last change on this file since 1657e21 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
RevLine 
[b669b49]1import sys
2
3# Fake the existence of 'sas' module
4class SasDataloaderLoader:
5    pass
6class SasDataloader:
7    loader = SasDataloaderLoader()
8class Sas:
9    dataloader = SasDataloader()
10sas = Sas()
11
12sys.modules['sas'] = sas
13sys.modules['sas.dataloader'] = sas.dataloader
14sys.modules['sas.dataloader.loader'] = sas.dataloader.loader
15
16def register(linter):
17    pass
Note: See TracBrowser for help on using the repository browser.