source: sasmodels/extra/run-pylint.py @ 53d0e24

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 53d0e24 was 6c2eb83, checked in by Paul Kienzle <pkienzle@…>, 9 years ago

move pylint support to 'extra'

  • Property mode set to 100644
File size: 341 bytes
Line 
1import os
2import sys
3from os.path import dirname, join as joinpath, abspath
4
5def main():
6    root = abspath(joinpath(dirname(__file__), '..'))
7    os.chdir(root)
8    cmd = "pylint --rcfile extra/pylint.rc -f parseable sasmodels > pylint_violations.txt"
9    status = os.system(cmd)
10    sys.exit(status)
11
12if __name__ == "__main__":
13    main()
Note: See TracBrowser for help on using the repository browser.