pytest-blockage icon indicating copy to clipboard operation
pytest-blockage copied to clipboard

Use `type='linelist'` for options

Open flying-sheep opened this issue 5 years ago • 0 comments

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.

flying-sheep avatar Dec 08 '20 15:12 flying-sheep