1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-10 00:42:40 +01:00

Update PEP8

Test Plan:
Linted this Python file:

  def get_mapper_sets(
          compression=4.0,  # Currently works for most tables
          **kwargs):
      pass

Didn't see:

> E225 missing whitespace around operator

Reviewers: andrewjcg, epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4172
This commit is contained in:
vrana 2012-12-12 18:05:48 -08:00
parent f476d1a0c5
commit 7133c76d37
2 changed files with 1070 additions and 495 deletions

1561
externals/pep8/pep8.py vendored

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,10 @@ final class ArcanistPEP8Linter extends ArcanistLinter {
return array();
}
public function getCacheVersion() {
return '1.3.3';
}
public function getPEP8Options() {
$working_copy = $this->getEngine()->getWorkingCopy();
$options = $working_copy->getConfig('lint.pep8.options');