You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a function has an annotation such as @warning_ignore written above it, gdformat will add newlines in between the function and the annotation.
Example input (which I would expect to be largely unchanged):
Well, looks like @warning_ignore works with function headers now... I knew this day would come :) In short, @warning_ignore is treated as a standalone annotation for now and therefore it's separated from function in your example. Looks like it will have to be context-aware now.
Thanks for reporting!
Currently, when a function has an annotation such as
@warning_ignore
written above it, gdformat will add newlines in between the function and the annotation.Example input (which I would expect to be largely unchanged):
Current output:
The text was updated successfully, but these errors were encountered: