You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if the value of the option contains comments in multiple lines the conversion will result in an invalid config.
Probably an alternative is to split the lines and then split each line using shlex.split
As per pytest-dev/pytest#12228, the pytest maintainers recommend addopts to be a string, so we should probably strip the comments.
The text was updated successfully, but these errors were encountered:
abravalheri
changed the title
[FR] Better handler of the addopts option for pytest
[FR] Better handling of the addopts option for pytestApr 19, 2024
Currently, if the value of the option contains comments in multiple lines the conversion will result in an invalid config.
Probably an alternative is to split the lines and then split each line usingshlex.split
As per pytest-dev/pytest#12228, the pytest maintainers recommend addopts to be a string, so we should probably strip the comments.
The text was updated successfully, but these errors were encountered: