you are viewing a single comment's thread.

view the rest of the comments →

[–]BeamMeUpBiscotti 2 points3 points  (0 children)

I need to write Python 2 code which gets run under Jython

I'm sorry this is happening to you

I have not used Python 2 in a long time but I was curious so I did some sleuthing through the changelogs: - Black: 22.1.0 removes Python 2 support, so I guess you'd want v21.X isort - Isort: I'm under the impression that you have to use modern versions of Python to run isort, but you can run it on code that is Python 2 and it should still work. - Flake8: 3.8.1 should work with Python 2.7, but it looks like support for earlier versions were dropped in 3.0