mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-26 00:32:41 +01:00
Restore PEP8 errors.
Summary: As per the TODO comment, now that `.arclint` is more mature, we should be able to restore PEP8 errors. Test Plan: N/A Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9473
This commit is contained in:
parent
45c66a1a7b
commit
4371cd81f5
2 changed files with 2 additions and 7 deletions
|
@ -109,12 +109,7 @@ final class ArcanistPEP8Linter extends ArcanistExternalLinter {
|
|||
if (preg_match('/^W/', $code)) {
|
||||
return ArcanistLintSeverity::SEVERITY_WARNING;
|
||||
} else {
|
||||
|
||||
// TODO: Once severities/.arclint are more usable, restore this to
|
||||
// "ERROR".
|
||||
// return ArcanistLintSeverity::SEVERITY_ERROR;
|
||||
|
||||
return ArcanistLintSeverity::SEVERITY_WARNING;
|
||||
return ArcanistLintSeverity::SEVERITY_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
import os, sys
|
||||
~~~~~~~~~~
|
||||
warning:1:10
|
||||
error:1:10
|
||||
|
|
Loading…
Reference in a new issue