Fix linters, second try
This commit is contained in:
parent
747523d241
commit
b2d64a4861
@ -39,13 +39,8 @@ class FacebookFbcodeLintEngine extends ArcanistLintEngine {
|
||||
$pep8_options = '--ignore=E101,E501,W291,W292,W293,E302';
|
||||
|
||||
$python_linter = new ArcanistPEP8Linter();
|
||||
$python_linter->setConfig(array('options' => $pep8_options));
|
||||
$linters[] = $python_linter;
|
||||
|
||||
$python_2space_linter = new ArcanistPEP8Linter();
|
||||
$python_2space_linter->setConfig(array('options' => $pep8_options.',E111'));
|
||||
$linters[] = $python_2space_linter;
|
||||
|
||||
// Currently we can't run cpplint in commit hook mode, because it
|
||||
// depends on having access to the working directory.
|
||||
if (!$this->getCommitHookMode()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user