pinterest / arcanist-linters

A collection of custom Arcanist linters
Apache License 2.0
62 stars 45 forks source link

Update diff parsing for isort 5.5+ #49

Closed jparise closed 3 years ago

jparise commented 3 years ago

https://github.com/PyCQA/isort/issues/1429 fixed --check's output so that the error message and diff output are separated into STDERR and STDOUT rather than combined in STDOUT. This means we need to update our diff parsing function accordingly.

Also fix the version parsing routine to read from STDOUT. This was busted for at least a few versions.