fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
548 stars 99 forks source link

reports: Sort loglevels by severity instead of alphabetically #4672

Closed felipesanches closed 5 months ago

felipesanches commented 5 months ago

At https://github.com/google/fonts/pull/7583#issuecomment-2072347031 I noticed that loglevels are sorted in this order: WARN, INFO, FAIL.

I think it means the results are being sorted by the loglevel strings, alphabetically ('W' comes after 'I', which comes after 'F') instead of by the numerical value of the loglevel (FAIL is worse than WARN, and INFO should be shown last)

Screenshot from 2024-04-24 18-02-26