(config: Config, *names: str)
| 198 | |
| 199 | |
| 200 | def get_option_ini(config: Config, *names: str): |
| 201 | for name in names: |
| 202 | ret = config.getoption(name) # 'default' arg won't work as expected |
| 203 | if ret is None: |
| 204 | ret = config.getini(name) |
| 205 | if ret: |
| 206 | return ret |
| 207 | |
| 208 | |
| 209 | def pytest_addoption(parser: Parser) -> None: |