1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42: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:
Joshua Spence 2014-06-16 04:50:59 +10:00
parent 45c66a1a7b
commit 4371cd81f5
2 changed files with 2 additions and 7 deletions

View file

@ -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;
}
}

View file

@ -1,3 +1,3 @@
import os, sys
~~~~~~~~~~
warning:1:10
error:1:10