Skip to content

Commit

Permalink
Fix linters, second try
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcanadi committed Sep 29, 2014
1 parent 747523d commit b2d64a4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions linters/lint_engine/FacebookFbcodeLintEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,8 @@ public function buildLinters() {
$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()) {
Expand Down

0 comments on commit b2d64a4

Please sign in to comment.