Page MenuHomePhabricator

Remove unnecessary "," from Pylint version regex
ClosedPublic

Authored by epriestley on May 8 2019, 5:21 PM.
Tags
None
Referenced Files
F13181260: D20505.diff
Thu, May 9, 10:33 AM
Unknown Object (File)
Tue, May 7, 3:12 PM
Unknown Object (File)
Tue, May 7, 9:49 AM
Unknown Object (File)
Fri, May 3, 9:37 AM
Unknown Object (File)
Thu, May 2, 11:14 PM
Unknown Object (File)
Tue, Apr 30, 3:57 PM
Unknown Object (File)
Sat, Apr 27, 6:51 PM
Unknown Object (File)
Thu, Apr 25, 1:24 PM
Subscribers
None

Details

Summary

See PHI1238. This "," in the regex can only make the lint binding fail if there is no "," in the version output string. In modern versions of Pylint, there is (apparently) no comma in the version string. Remove it.

See also https://discourse.phabricator-community.org/t/arcanistpylintlinter-version-regex-issue/2688

Test Plan
$ pip install pylint
Traceback (most recent call last):
  File "/Users/epriestley/Library/Python/2.7/bin/pip", line 6, in <module>
    from pip._internal import main
ImportError: No module named pip._internal

¯\_(ツ)_/¯

Diff Detail

Repository
rARC Arcanist
Branch
pylint1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22771
Build 31229: Run Core Tests
Build 31228: arc lint + arc unit