(config: Config, *names: str)
| 224 | |
| 225 | |
| 226 | def get_option_ini(config: Config, *names: str): |
| 227 | for name in names: |
| 228 | ret = config.getoption(name) # 'default' arg won't work as expected |
| 229 | if ret is None: |
| 230 | ret = config.getini(name) |
| 231 | if ret: |
| 232 | return ret |
| 233 | |
| 234 | |
| 235 | def pytest_addoption(parser: Parser) -> None: |