What version of flake8 is best for python3
Hello, My team has been testing all of our python code for years using flake8==2.5.4 and this has worked well for us until recently. We are having more and more strictly python3 code beijing written and we have found a bug in flake8==2.5.4 that has been fixed and an upgrade of the version will solve our problem. The issue is that upgrading the version leads to a lot of our code that has already been checked in to have syntax problems. We are willing to update our flake8 version if we can find evidence that it is more effective to test python3 code with a newer version of flake8 such has flake8==3.7.9. Please let me know any and all of your thoughts on this topic. Thank you, Adam Scerra
On Fri, Jan 17, 2020 at 08:21:03AM -0500, Adam Scerra wrote:
My team has been testing all of our python code for years using flake8==2.5.4 and this has worked well for us until recently.
We are having more and more strictly python3 code beijing written and we have found a bug in flake8==2.5.4 that has been fixed and an upgrade of the version will solve our problem.
The issue is that upgrading the version leads to a lot of our code that has already been checked in to have syntax problems.
Have you considered disabling the new warning types added in new flake8 versions via your local flake8 configuration? (Also, some advice: scheduling periodic small upgrades might be less painful than doing one large upgrade when you discover a bug that was fixed upstream.) Regards, Marius Gedminas -- "Actually, the Singularity seems rather useful in the entire work avoidance field. "I _could_ write up that report now but if I put it off, I may well become a weakly godlike entity, at which point not only will I be able to type faster but my comments will be more on-target." - James Nicoll
participants (2)
-
Adam Scerra
-
Marius Gedminas