Page MenuHomePhabricator

D9114.diff
No OneTemporary

D9114.diff

diff --git a/src/lint/engine/ArcanistLintEngine.php b/src/lint/engine/ArcanistLintEngine.php
--- a/src/lint/engine/ArcanistLintEngine.php
+++ b/src/lint/engine/ArcanistLintEngine.php
@@ -540,15 +540,6 @@
return 1;
}
- protected function getPEP8WithTextOptions() {
- // E101 is subset of TXT2 (Tab Literal).
- // E501 is same as TXT3 (Line Too Long).
- // W291 is same as TXT6 (Trailing Whitespace).
- // W292 is same as TXT4 (File Does Not End in Newline).
- // W293 is same as TXT6 (Trailing Whitespace).
- return '--ignore=E101,E501,W291,W292,W293';
- }
-
/**
* Get a named linter resource shared by another linter.
diff --git a/src/lint/engine/ComprehensiveLintEngine.php b/src/lint/engine/ComprehensiveLintEngine.php
--- a/src/lint/engine/ComprehensiveLintEngine.php
+++ b/src/lint/engine/ComprehensiveLintEngine.php
@@ -48,4 +48,13 @@
return $linters;
}
+ protected function getPEP8WithTextOptions() {
+ // E101 is subset of TXT2 (Tab Literal).
+ // E501 is same as TXT3 (Line Too Long).
+ // W291 is same as TXT6 (Trailing Whitespace).
+ // W292 is same as TXT4 (File Does Not End in Newline).
+ // W293 is same as TXT6 (Trailing Whitespace).
+ return array('--ignore=E101,E501,W291,W292,W293');
+ }
+
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 12:54 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729481
Default Alt Text
D9114.diff (1 KB)

Event Timeline