flake8-commas icon indicating copy to clipboard operation
flake8-commas copied to clipboard

Flake8 extension for enforcing trailing commas in python

Results 5 flake8-commas issues
Sort by recently updated
recently updated
newest added

I'd like to ignore the error when there's only one argument to the function. For example: ``` logger.debug( "Really long string " "implicitly joined" ) ```

If a function argument contains multiplication, a C815 error ("... in Python 3.5+") is reported instead of C812, as if the expression includes tuple unpacking. This is misleading, because even...

I'd like to ignore the enforcement of a trailing comma where all items are on a single line that isn't the same line as the opening bracket. For example, ```...

Currently both `tox.ini` and [`travis.yml`](https://github.com/PyCQA/flake8-commas/blob/master/travis.yml) do not support latest python versions. I can send a PR with the fix! Related: https://github.com/wemake-services/wemake-python-styleguide/issues/1138

Running Python 3.7 with Python 3.5 config does not work.