STY: disallow typing.Any and allow missing type annotations - #20451
neutrinoceros wants to merge 3 commits into
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
|
I broke runtime so I expect some obvious mistake slipped in. |
09f9e4e to
8b89f8f
Compare
This comment was marked as outdated.
This comment was marked as outdated.
99447c0 to
07a0c23
Compare
|
There are valid reasons for using |
|
I'll split this PR in two parts. My actual goal is to pertain usage of |
|
I'm keeping this PR around as a reminder but my goal is now to re-open a cosmology-focused version of it to remove |
Description
I propose tweaking our linting rules to allow partially typed signatures rather than only allowing all-or-nothings. Also dissallow
typing.Anyas it's basically useless and there is no reason to keep it around if we allow gradual typing.AI Disclosure
N/A
Merge method