Skip to content

Commit

Permalink
remove 2 space linter
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcanadi committed Sep 29, 2014
1 parent b2d64a4 commit 99fb613
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions linters/lint_engine/FacebookFbcodeLintEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ public function buildLinters() {
));
$linters[] = $java_text_linter;

$pep8_options = '--ignore=E101,E501,W291,W292,W293,E302';

$python_linter = new ArcanistPEP8Linter();
$linters[] = $python_linter;

Expand Down Expand Up @@ -114,11 +112,7 @@ public function buildLinters() {
$dir = dirname($dir);
} while ($dir != '/' && $dir != '.');

if ($space_count == 4) {
$cur_path_linter = $python_linter;
} else {
$cur_path_linter = $python_2space_linter;
}
$cur_path_linter = $python_linter;
$cur_path_linter->addPath($path);
$cur_path_linter->addData($path, $this->loadData($path));

Expand Down

0 comments on commit 99fb613

Please sign in to comment.