pytest-blockage
pytest-blockage copied to clipboard
Use `type='linelist'` for options
parser.addini(..., type='linelist')
allows people to specify longer whitelists comfortably and to use TOML lists when configuring with pyproject.toml.
For backwards compat, you can do if len(whitelist) == 1: whitelist = whitelist[0].split(',') or so.