We are interested in supporting trailing commas via flake8
but need to verify that this can be easily achieved via AST tokens. This repo is a proof of concept for said verification.
Conclusion: It can be done via tokens but it will be complicated since there is no distinction of brackets.