equal
deleted
inserted
replaced
409 |
409 |
410 @check("pyflakes", "Pyflakes python linter") |
410 @check("pyflakes", "Pyflakes python linter") |
411 def has_pyflakes(): |
411 def has_pyflakes(): |
412 return matchoutput("sh -c \"echo 'import re' 2>&1 | pyflakes\"", |
412 return matchoutput("sh -c \"echo 'import re' 2>&1 | pyflakes\"", |
413 br"<stdin>:1: 're' imported but unused", |
413 br"<stdin>:1: 're' imported but unused", |
|
414 True) |
|
415 |
|
416 @check("pylint", "Pylint python linter") |
|
417 def has_pylint(): |
|
418 return matchoutput("pylint --help", |
|
419 br"Usage: pylint", |
414 True) |
420 True) |
415 |
421 |
416 @check("pygments", "Pygments source highlighting library") |
422 @check("pygments", "Pygments source highlighting library") |
417 def has_pygments(): |
423 def has_pygments(): |
418 try: |
424 try: |