]> khamidou — GitHub mirrors - arcanist.git/commit
Add py/pl files to $text_paths (remove l/y files?!)
authorShayne Sweeney <sweeney@fb.com>
Tue, 9 Apr 2013 22:06:55 +0000 (15:06 -0700)
committerepriestley <git@epriestley.com>
Tue, 9 Apr 2013 22:07:05 +0000 (15:07 -0700)
commitcf76d2fc1c5084c8971407afd6c22d59a6a8cdb1
tree772be93299485a89c73258fd1a49462065baef3e
parentdbe0f7dc0903f34d48d9caed343098b5ef41bce4
Add py/pl files to $text_paths (remove l/y files?!)

Summary:
I'm guessing this was refactored somewhere down the line and it meant
that Python and Perl files were no longer considered text files.

I'm imagining the old regex was: p(hp|y|l). Therefore I blame CSS.

Test Plan:
Perform an arc lint on a Python or Perl file that has trailing whitespace
on a line. It should prompt you for an autocorrecting lint.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D5637
src/lint/engine/ComprehensiveLintEngine.php