Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14038688
D9114.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D9114.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 12, 1:20 AM (1 w, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6729481
Default Alt Text
D9114.diff (1 KB)
Attached To
Mode
D9114: Move `getPEP8WithTextOptions` method into `ComprehensiveLintEngine` class.
Attached
Detach File
Event Timeline
Log In to Comment