-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hi, I have pytest-flake8 installed, and in my pytest.ini file I have addopts: --flake8. In my CI I'd like to disable flake8 checks (I have separate job for them), but reuse other parts of the config. If I add -p no:flake8, the pytest invocation fails with:
% pytest tests -p no:flake8
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --flake8
inifile: …/pytest.ini
rootdir: …
I didn't find any other way to disable the plugin using command line option. Is there any? If not, should it be fixed on pytest side or potentially added on pytest-flake8 side?
Metadata
Metadata
Assignees
Labels
No labels