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
The "good" solution would be to drop comments as we generate the function def.
The "bad" solution, which I'll probably go with first, is to strip Python comments in the publishing step, as it's was easier.
The text was updated successfully, but these errors were encountered:
The current method to extract a function definition (span from start of function to the function body) may include comments.
This specifically happens in CPython tests (https://github.com/tmr232/cfgbot/actions/runs/12576476224/job/35052659314).
So we need to strip them.
The "good" solution would be to drop comments as we generate the function def.
The "bad" solution, which I'll probably go with first, is to strip Python comments in the publishing step, as it's was easier.
The text was updated successfully, but these errors were encountered: