I would like to be able to exclude instead of include certain python test files in the pytest.ini configuration file. According to the docs including tests boils down to something like this:
# content of pytest.ini
[pytest]
pytest_files=test_main.py test_common.py
To exclude files however, only command line options are suggested:
--ignore=test_common.py
How can I actually select files to ignore at the pytest.ini file level?