Pytest Parametrize Inlay Hint is plugin for PyCharm and IntelliJ IDEA.
This plugin implements inlay parameter hints for pytest.mark.parametrize decorator.
-
pytest parametrize order hints
Show parameter-set order number in argvalues list. -
pytest parametrize name hints
Show parameter name of parameter-set in argvalues, name is defined by argnames.
- Install a compatible JetBrains IDE, such as IntelliJ IDEA or PyCharm.
- Launch the IDE and open plugin settings.
- Search for Pytest Parametrize Inlay Hint and click install
- Open setting, follow path: Settings -> Editor -> Inlay Hints -> Parameter names -> Python
- Check or remove the following hint options.
- pytest parametrize order hints
- pytest parametrize name hints