Is there a reason for GPIO10 and 11 not being valid pins on an ESP C3? The datasheet doesn't say anything special about them.
Also pins 2, 8 and 9 are fine to use after boot. Labeling them invalid seems more like a bug as well. You just have to know what you're doing when connecting something to them (i.e. know the voltage levels at reset), but I think it's not this library's job to enforce that.
How can I override the valid pin check?