Text wrap for fixme comments
commit2923ba2643f0d0d2200ba9a2fc3b0cef4239caf5
authorAndrew Kennedy <akenn@fb.com>
Fri, 27 Jan 2017 08:08:45 +0000 (27 00:08 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Fri, 27 Jan 2017 08:11:33 +0000 (27 00:11 -0800)
treef72750f63a6f9a779c5bce5aa9d25b4d3a5d0943
parent550df1ff17a358295211fe76e13b0daf509a3a0d
Text wrap for fixme comments

Summary:
The fixme.py tool inserts single-line HH_FIXME comments into files.
To make it lint friendly, lines should not exceed 80 characters in length.
To do this, we break the HH_FIXME message at word boundaries if possible.

Reviewed By: oulgen, dlreeves

Differential Revision: D4468291

fbshipit-source-id: a2e8bbd3239b74234de0f9d99f188f6df6f34592
hphp/hack/tools/fixme/fixme.py