prohibited-trailing-comma (COM819)#
Derived from the flake8-commas linter.
Fix is always available.
What it does#
Checks for the presence of prohibited trailing commas.
Why is this bad?#
Trailing commas are not essential in some cases and can therefore be viewed as unnecessary.
Example#
Use instead: