Page MenuHomePhabricator

Recover from PyLint raising messages at character "-1"
ClosedPublic

Authored by epriestley on Aug 25 2015, 3:39 AM.
Tags
None
Referenced Files
F18738926: D13991.diff
Wed, Oct 1, 6:26 PM
F18658011: D13991.diff
Tue, Sep 23, 4:26 AM
F18600156: D13991.id33814.diff
Sat, Sep 13, 9:05 AM
F18599104: D13991.id33811.diff
Sat, Sep 13, 6:39 AM
F18506369: D13991.id.diff
Fri, Sep 5, 1:24 AM
F18498977: D13991.diff
Thu, Sep 4, 7:14 PM
F18335754: D13991.id33814.diff
Aug 25 2025, 7:37 AM
F18335753: D13991.id33811.diff
Aug 25 2025, 7:37 AM
Subscribers
None

Details

Summary

Fixes T9257. For some messages, PyLint can raise at "character -1", which we don't allow since we don't consider it to make sense.

Test Plan
  • Added failing unit test from T9257.
  • Applied patch.
  • Test now passes.

Diff Detail

Repository
rARC Arcanist
Branch
pylint1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 7812
Build 8656: [Placeholder Plan] Wait for 30 Seconds
Build 8655: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Recover from PyLint raising messages at character "-1".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, joshuaspence.
chad edited edge metadata.
This revision is now accepted and ready to land.Aug 25 2015, 3:40 AM
epriestley edited edge metadata.
  • Clean unit results.
  • I had to strip one more XML test, see D13992 + T9258 for context.
This revision was automatically updated to reflect the committed changes.