getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.
https://docs.grit.io/
MIT License
3.17k stars 82 forks source link

fix: 416 python hanging comma #566

Closed Alex-ley-scrub closed 3 weeks ago

Alex-ley-scrub commented 3 weeks ago

/claim #416 fixes #416 follows on from PR #419 and uses those test cases but makes the multi line example also work

verified fix with:

cargo test --package marzano-core --lib -- --exact --show-output
cargo test --package marzano-core --lib -- test::trailing_comma_after_argument_removal --exact --show-output
cargo test --package marzano-core --lib -- test::trailing_comma_after_argument_removal_one_line --exact --show-output

Greptile Summary

This is an auto-generated summary

Hi! Looks like you've reached your API usage limit. You can increase it from your account settings page here: app.greptile.com/settings/usage