smarkets / flake8-strict

Flake8 plugin that checks Python code against a set of opinionated style rules
MIT License
10 stars 8 forks source link

[WIP] Use modified lib2to3 grammar for variadic comma support in 3.6+ #33

Closed ryantam626 closed 6 years ago

ryantam626 commented 7 years ago

This contains an extremely hacky fix to circumvent lib2to3 crashing when there is a trailing comma following variadic arguments on a multiline function defintion.

Majority of this can be reverted when lib2to3 grammar is fixed.