Skip to content

Commit 99fb613

Browse files
committed
remove 2 space linter
1 parent b2d64a4 commit 99fb613

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

linters/lint_engine/FacebookFbcodeLintEngine.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ public function buildLinters() {
3636
));
3737
$linters[] = $java_text_linter;
3838

39-
$pep8_options = '--ignore=E101,E501,W291,W292,W293,E302';
40-
4139
$python_linter = new ArcanistPEP8Linter();
4240
$linters[] = $python_linter;
4341

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

117-
if ($space_count == 4) {
118-
$cur_path_linter = $python_linter;
119-
} else {
120-
$cur_path_linter = $python_2space_linter;
121-
}
115+
$cur_path_linter = $python_linter;
122116
$cur_path_linter->addPath($path);
123117
$cur_path_linter->addData($path, $this->loadData($path));
124118

0 commit comments

Comments
 (0)