Closed mohithg closed 3 years ago
Why only if greater than 10 BTW?
@guysmoilov just some number because you asked in the ticket to have a certain range, so I thought 10 would be a good start. Its the sum by the way. So if the total weight of issues is 10 then it will fail. Should I reduce it to 5 ?
I guess I don't understand how flake8 works, I assumed we can set a "maximum allowed severity level"
Then we can do selective error codes like you did for other flake8 test you are already running
But I have slight preference over testing everything, and not just selected ones. Code is more hygiene that way.
For syntax errors we anyways fail the test, for the other errors we show them as warnings, but if the total count of these exceeds 10 then we throw an error asking user to fix those lint errors