Preference for type for multiple argument names? #12591
-
Hi all, curious as to your opinion on the following. We have started to use Ruff for linting. In Ruff, the default for the expected type for multiple argument names is a @pytest.mark.parametrize(("name1", "name2"), ...) In the Pytest docs, I see everything is using the @pytest.mark.parametrize("name1,name2", ...) My personal tendency would be to prefer a list or tuple as well for clearer separation between the argument names. My questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
the commonly used style is csv, as it simply removes code noise the flake8-pytest-style plugin that was used as the base for the ruff rules is using some defaults that do not match the pytest upstream recommendations they recently started to make some concessions (like flipping the default for enforcing parens on marks) |
Beta Was this translation helpful? Give feedback.
the commonly used style is csv, as it simply removes code noise
the flake8-pytest-style plugin that was used as the base for the ruff rules is using some defaults that do not match the pytest upstream recommendations
they recently started to make some concessions (like flipping the default for enforcing parens on marks)