instances_in_order separates the instances based on what isn't in the weight axis; if there is only a weight axis, it fails with this error:
ERROR Failed with IndexError: list index out of range
File
"/opt/homebrew/lib/python3.11/site-packages/fontbakery/checkrunner.
", line 213, in _run_check
subresults = list(subresults)
^^^^^^^^^^^^^^^^
File
"/opt/homebrew/lib/python3.11/site-packages/fontbakery/checks/googl
onts/varfont.py", line 663, in
com_google_fonts_check_varfont_instances_in_order
sublists[-1].append(coord)
~~~~~~~~^^^^
[code: failed-check]
Description
instances_in_order separates the instances based on what isn't in the weight axis; if there is only a weight axis, it fails with this error:
This fixes it.
Checklist
CHANGELOG.md