core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since 3e428ec was
3c56da87,
checked in by Paul Kienzle <pkienzle@…>, 10 years ago
|
lint cleanup
|
-
Property mode set to
100644
|
File size:
524 bytes
|
Line | |
---|
1 | import os |
---|
2 | import sys |
---|
3 | from os.path import dirname, join as joinpath, abspath |
---|
4 | |
---|
5 | def main(): |
---|
6 | envpath = os.environ.get('PYTHONPATH',None) |
---|
7 | path = [envpath] if envpath else [] |
---|
8 | path.append(abspath(dirname(__file__))) # so we can find the plugins |
---|
9 | os.environ['PYTHONPATH'] = ':'.join(path) |
---|
10 | root = abspath(joinpath(dirname(__file__), '..')) |
---|
11 | os.chdir(root) |
---|
12 | cmd = "pylint --rcfile extra/pylint.rc -f parseable sasmodels" |
---|
13 | status = os.system(cmd) |
---|
14 | sys.exit(status) |
---|
15 | |
---|
16 | if __name__ == "__main__": |
---|
17 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.