core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since 87e70a3 was
f01e53d,
checked in by pkienzle, 10 years ago
|
make extra/run-pylint.py a unix executable
|
-
Property mode set to
100755
|
File size:
547 bytes
|
Line | |
---|
1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | import os |
---|
4 | import sys |
---|
5 | from os.path import dirname, join as joinpath, abspath |
---|
6 | |
---|
7 | def main(): |
---|
8 | envpath = os.environ.get('PYTHONPATH',None) |
---|
9 | path = [envpath] if envpath else [] |
---|
10 | path.append(abspath(dirname(__file__))) # so we can find the plugins |
---|
11 | os.environ['PYTHONPATH'] = ':'.join(path) |
---|
12 | root = abspath(joinpath(dirname(__file__), '..')) |
---|
13 | os.chdir(root) |
---|
14 | cmd = "pylint --rcfile extra/pylint.rc -f parseable sasmodels" |
---|
15 | status = os.system(cmd) |
---|
16 | sys.exit(status) |
---|
17 | |
---|
18 | if __name__ == "__main__": |
---|
19 | main() |
---|
Note: See
TracBrowser
for help on using the repository browser.