Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 847 Bytes

File metadata and controls

28 lines (19 loc) · 847 Bytes

Pytest Parametrize Inlay Hint

Pytest Parametrize Inlay Hint is plugin for PyCharm and IntelliJ IDEA.

Description

This plugin implements inlay parameter hints for pytest.mark.parametrize decorator.

  1. pytest parametrize order hints
    Show parameter-set order number in argvalues list.

  2. pytest parametrize name hints
    Show parameter name of parameter-set in argvalues, name is defined by argnames.

Installation

  1. Install a compatible JetBrains IDE, such as IntelliJ IDEA or PyCharm.
  2. Launch the IDE and open plugin settings.
  3. Search for Pytest Parametrize Inlay Hint and click install

Settings

  1. Open setting, follow path: Settings -> Editor -> Inlay Hints -> Parameter names -> Python
  2. Check or remove the following hint options.
    • pytest parametrize order hints
    • pytest parametrize name hints