-
Notifications
You must be signed in to change notification settings - Fork 190
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
Warnings persist in Context #1183
Comments
It's a bug in |
@jvansanten Should be fixed now in the main branch! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been playing around with using libcst to copy (newly added) annotations from base class stubs to subclasses in a large legacy codebase. It's pretty neat!
There are some edge cases in this that I can't handle, and so kick them up to the user with
Codemod.warn()
. There is, however a minor UX issue when processing multiple files in one invocation: once Iwarn()
, the warning persists in theContext
for all subsequent files processed by that instance of theCodemod
, and so I see spurious warnings attached to the wrong filename:Is this the expected behavior?
The text was updated successfully, but these errors were encountered: