Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statically detect usage of deprecated APIs via mypy #14

Open
glyph opened this issue Aug 6, 2020 · 1 comment
Open

Statically detect usage of deprecated APIs via mypy #14

glyph opened this issue Aug 6, 2020 · 1 comment

Comments

@glyph
Copy link

glyph commented Aug 6, 2020

Similar to Java's @Deprecated annotation, I want to be able to find out statically and quickly when I am using a deprecated API.

(This would also address the confusion / difficulty around warnings-as-errors vs. warnings-as-print-statements vs. how-does-your-test-runner-tell-you-about-deprecations problem.)

@Julian
Copy link
Owner

Julian commented Aug 6, 2020

Part of this is in #1 but the extra detail (make it mypy) is definitely helpful! Thanks!

@Julian Julian changed the title add a mypy plugin Statically detect deprecated APIs via mypy Aug 28, 2020
@Julian Julian changed the title Statically detect deprecated APIs via mypy Statically detect usage of deprecated APIs via mypy Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants