Exemple #1
0
def test():
    """Tests package"""
    error_codes = []
    print("Python Tests:")
    error_codes.append(xnt.setup(["test"]))
    clean()
    if xnt.in_path("python2"):
        print("Python2 Tests:")
        error_codes.append(xnt.call(["python2", "setup.py", "test"]))
        clean()
    return sum(error_codes)
Exemple #2
0
def lint():
    """pylint xnt"""
    return xnt.call(["pylint", "--rcfile=pylint.conf", "xnt"])
Exemple #3
0
def lint():
    return xnt.call(['pylint', '--rcfile=pylint.conf', 'pylibchorus'])