ubsuny / 23-Homework4G4

MIT License
0 stars 10 forks source link

linting rating #68

Closed LinxuanHu closed 11 months ago

LinxuanHu commented 11 months ago

how does it work to rate the code with a score out of 10

WildJimmy commented 11 months ago

In the pylint documentation (https://docs.pylint.org/faq.html), they give this formula to calculate your score out of 10

10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)

Which is how they determine the quality of your code. I hope this is helpful!