source: sasmodels/extra/pylint_sas.py @ f6fd413

core_shell_microgelsmagnetic_modelticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since f6fd413 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
Line 
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.