I want to leverage use of markers to run the pytest suite. The flow being as below:
- Specify the list of markers in a config file
- Read this parameter in the tox.ini file and dynamically use it during runtime
- Will be using jenkins to automate the test suite I understand it is possible to have static parameters in the tox.ini file Official document
Is it possible to have these parameters read from another file ?
Using pll's example from this this thread
[main]
ignore_list = "E201,E202,E203,E221,E231,E241,E265,E266,E272,E402,W293,W391"
# to be read from another file
[testenv]
commands =
pep8 \
--max-line-length=120 \
--ignore={[main]ignore_list}