-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
[DRAFT] Add bulk logging of function invocations. misc DX #2223
base: community
Are you sure you want to change the base?
[DRAFT] Add bulk logging of function invocations. misc DX #2223
Conversation
c34f169
to
30f87ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll need to use a black
compatible with the workflow version (currently 24.4.2) to get the Python format check to pass - it looks like it picked up an actual bug in the format strings though.
I like libclang/libtooling as a basis for some stuff, though I'm a little concerned it'll add like 300 megabytes to the toolchain build next time we run it. Do you have an idea of the size it adds to the site-packages when installed?
scripts/tasks/task-annotate.py
Outdated
with open(tags_file, "w+") as tags_file_pointer: | ||
tags_file_pointer.write(result.stdout.decode('utf-8')) | ||
else: | ||
print(f"Failed to invoke {" ".join(ctags_invocation)}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print(f"Failed to invoke {" ".join(ctags_invocation)}") | |
print(f"Failed to invoke {' '.join(ctags_invocation)}") |
Looks like the python format check picked up an actual bug in this format string.
scripts/toolchain/requirements.txt
Outdated
libclang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're going to add these dependencies they should be version locked.
30f87ad
to
4b0f291
Compare
leaving in draft while I get back up to speed the process for proposing changes. Most of this I wrote 6 months ago, but it was n't relevant enough to risk bundling it in with some other changes.
This is 2 additional DBT tasks along with supporting documentation changes and an additional macro. Nothing user facing.
while experiencing a bout of ADHD, I added a macro
D_POPUP
which is a convenientsprintf
enabled dev shortcut.D_POPUP("%d bottles of beer on the wall", 99)
display->displayPopup
is not available.