Hint all name
arguments as str
only
#132
Labels
refactor
Makes existing code nicer and more useable.
name
arguments as str
only
#132
Currently, we hint
name: str | None
on the benchmark name, which is bad practice. Names of benchmarks can realistically never be None, and are overwritten immediately with the function name in the post-init.We were going to add this in the State PR, but realized that the changeset is going to be too big, since all decorator call sites will also have to be changed. So we're leaving this for a follow-up.
The text was updated successfully, but these errors were encountered: