I've reviewed my own use of Viper and I don't generally have type hints within the body of routines, however they are always present in the definition. self doesn't have a type hint, but all other args do, e.g.
Code: Select all
@micropython.viper
def _setbuf_fixed(self, line: int, fixed_value: int):