]> khamidou — GitHub mirrors - arcanist.git/commit
Relax the version regex for `ArcanistFlake8Linter`.
authorJoshua Spence <josh@joshuaspence.com>
Sun, 18 May 2014 01:18:03 +0000 (18:18 -0700)
committerepriestley <git@epriestley.com>
Sun, 18 May 2014 01:18:03 +0000 (18:18 -0700)
commitb4b6a33d2a8d80aebe7ce87e98e007ca75d87b91
tree73a2a175a266e5f8bbd5793d663771d04bcb9412
parent7c56fad48fc7ff19150ed597085eee83998af3be
Relax the version regex for `ArcanistFlake8Linter`.

Summary: As noticed by @epriestley in D9060, `flake8 --version` can emit a string like "2.0" rather than the expected "2.0.0".

Test Plan: Uninstalled my existing version of `flake8` (v2.1.0) and installed a prior version (`pip install flake8==2.0.0`). Ran `flake8 --version` and inspected the output.

Reviewers: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D9174
src/lint/linter/ArcanistFlake8Linter.php