Skip to content

PT006: Could csv mode have a space between names? #12703

@notatallshaw

Description

@notatallshaw

I am working on adding pytest rules for pip. Turning on PT006 with lint.flake8-pytest-style.parametrize-names-type set to csv produces a slight styling difference on autofix of tests using tuple or list compared to pip's standard style.

It produces "one,two,three" instead of "one, two, three".

Would any of the following requests be considered?

  • The autofix of tuple or list to csv converts to one, two, three, four not one,two,three,four
  • This be the standard style so any csv string, e.g. one,two ,three, four gets neatly formatted to one, two, three, four
  • An additional option to enforce either of these

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configuration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions