You have --config-file option in your conftest.py:
|
parser.addoption("--config-file", action="store", help="location of the config file", |
and pytest 7.4.0 now has it as well: pytest-dev/pytest@4f3f36c
which results in:
argparse.ArgumentError: argument --config-file: conflicting option string: --config-file