We recently ported our project up to a minimum Python version of 3.12. As such we are able to use the new type soft keyword that seems to be the preferred way to write (most) type aliases now.
But is there anyway (with Ruff, Mypy, etc) to detect “implicit/bare” type aliases that aren’t explicitly annotated?
StrDict = dict[str, Any]
We’d like to upgrade all of our implicit type aliases to the new, explicit/recommended syntax but trying to find these manually in a large codebase is challenging.