anki/qt/tests/run_pylint.py

22 lines
325 B
Python
Raw Normal View History

import os
import subprocess
import sys
import PyQt5
from pylint.lint import Run
if __name__ == "__main__":
(module, ini) = sys.argv[1:]
ini = os.path.abspath(ini)
Run(
[
"qt/aqt",
"--rcfile",
ini,
"-j",
"0",
"-v",
]
)