mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Prefer pip to easy_install
Summary: Prefer pip to easy_install also fixes incorrect install instructions for closure linters Fixes T10892 Ref T10038 Test Plan: inspection Reviewers: avivey, #blessed_reviewers, epriestley, tjstum Reviewed By: avivey, #blessed_reviewers, epriestley, tjstum Subscribers: avivey, Korvin Maniphest Tasks: T10038, T10892 Differential Revision: https://secure.phabricator.com/D15818
This commit is contained in:
parent
768e1a56bc
commit
c58f1b9a25
3 changed files with 3 additions and 4 deletions
|
@ -33,8 +33,7 @@ final class ArcanistClosureLinter extends ArcanistExternalLinter {
|
|||
return pht(
|
||||
'Install %s using `%s`.',
|
||||
'gjslint',
|
||||
'sudo easy_install http://closure-linter.googlecode.com/'.
|
||||
'files/closure_linter-latest.tar.gz');
|
||||
'pip install closure-linter');
|
||||
}
|
||||
|
||||
protected function parseLinterOutput($path, $err, $stdout, $stderr) {
|
||||
|
|
|
@ -45,7 +45,7 @@ final class ArcanistFlake8Linter extends ArcanistExternalLinter {
|
|||
}
|
||||
|
||||
public function getInstallInstructions() {
|
||||
return pht('Install flake8 using `%s`.', 'easy_install flake8');
|
||||
return pht('Install flake8 using `%s`.', 'pip install flake8');
|
||||
}
|
||||
|
||||
protected function parseLinterOutput($path, $err, $stdout, $stderr) {
|
||||
|
|
|
@ -43,7 +43,7 @@ final class ArcanistPEP8Linter extends ArcanistExternalLinter {
|
|||
}
|
||||
|
||||
public function getInstallInstructions() {
|
||||
return pht('Install PEP8 using `%s`.', 'easy_install pep8');
|
||||
return pht('Install PEP8 using `%s`.', 'pip install pep8');
|
||||
}
|
||||
|
||||
protected function parseLinterOutput($path, $err, $stdout, $stderr) {
|
||||
|
|
Loading…
Reference in a new issue