]> khamidou — GitHub mirrors - arcanist.git/commit
losen pep8 version check
authorcburroughs <chris.burroughs@gmail.com>
Tue, 10 Feb 2015 14:17:25 +0000 (06:17 -0800)
committerepriestley <git@epriestley.com>
Tue, 10 Feb 2015 14:17:25 +0000 (06:17 -0800)
commit6dadb6b48c9fbc81dc840d4dc1f78af98c99aacf
tree9fd222ad37fa75575fa4d82ab2f6334bdec0691c
parent17ec3859cd36ed828d3a753fc8ba90ec6dea5479
losen pep8 version check

Summary:
pep8 has used both 2 (`1.2`) and 3 (`1.2.1`) digit versions.  Losen
the version check to allow for both.

NOTE: This is the same regex as flake8.

Test Plan: `arc unit` with a 2 and 3 digit pep8 version on `$PATH`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: joshuaspence, epriestley

Differential Revision: https://secure.phabricator.com/D11728
src/lint/linter/ArcanistPEP8Linter.php