Commit 5b7b999
Refactor code transformation scripts from ast to libcst (#35)
* Initial plan
* Refactor AST-based code to use libcst for better code transformation
Co-authored-by: jason810496 <[email protected]>
* Fix: only wrap call expressions in await, not literals
Co-authored-by: jason810496 <[email protected]>
* Ask whether to apply change
* Apply missing async methods
* Correct files for check-sync-async-method-for-queue pre-commit
* Add check for operation as well
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jason810496 <[email protected]>
Co-authored-by: LIU ZHE YOU <[email protected]>1 parent 5dd1a04 commit 5b7b999
11 files changed
Lines changed: 1218 additions & 157 deletions
File tree
- pgmq_sqlalchemy
- scripts
- ci/pre_commit
- scripts_utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
0 commit comments