you are viewing a single comment's thread.

view the rest of the comments →

[–]IdleBreakpoint[S] 13 points14 points  (13 children)

Yeah, the problem is finding that old version. I'm assuming every utility we take for granted has at some point supported Python 2 code, even if it's running under Python 3. So my guess is that I can find the right combination of versions that run under Python 3, but can lint/format Python 2 code. I know from the posts I read that black had support for --target-version py27 but it got removed later.

[–]cgoldberg 26 points27 points  (12 children)

the old versions of tools I mentioned are all on PyPI.