This is great, thank you for this. I've always wanted something that would complain if I passed Meters to something expecting Feet, but aliases didn't consider this an error.
You should look into the pint library if you want full unit support!
That looks really useful, thank you! I don't always specifically want units, but it'll be great for when I do!