STYL: replace autotyping with ruff's ANN autofixes
ruff's ANN has many of the autofixes from autotyping but it doesn't have all of them. Ruff doesn't annotate parameters with simple default values (autotyping would change `def foo(x=1)` to `def foo(x: int = 1)`).
Thanks @twoertwein 