tests/hghave.py
changeset 31413 aa797bd54f44
parent 30559 d83ca854fa21
child 31576 07f0cddb0594
--- a/tests/hghave.py	Tue Mar 14 23:50:07 2017 -0700
+++ b/tests/hghave.py	Wed Dec 28 23:42:50 2016 +0100
@@ -413,6 +413,12 @@
                        br"<stdin>:1: 're' imported but unused",
                        True)
 
+@check("pylint", "Pylint python linter")
+def has_pylint():
+    return matchoutput("pylint --help",
+                       br"Usage:  pylint",
+                       True)
+
 @check("pygments", "Pygments source highlighting library")
 def has_pygments():
     try: