-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin plugintopic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config file
Description
@The-Compiler With pytest.PytestConfigWarning the INTERNALERROR is gone but I still get the warnings. I have even tried to ignore all PytestConfigWarning but with no success.
filterwarnings =
ignore::pytest.PytestConfigWarning
This means, filterwarnings does nothing in my case. How can I suppress these warnings?
============================== warnings summary ===============================
venv\lib\site-packages\_pytest\config\__init__.py:1148
venv\lib\site-packages\_pytest\config\__init__.py:1148: PytestConfigWarning: Unknown config ini key: flake8-ignore
self._warn_or_fail_if_strict("Unknown config ini key: {}\n".format(key))
venv\lib\site-packages\_pytest\config\__init__.py:1148
venv\lib\site-packages\_pytest\config\__init__.py:1148: PytestConfigWarning: Unknown config ini key: flake8-max-line-length
_Originally posted by @marincandenza in https://github.com/pytest-dev/pytest/issues/7612#issuecomment-668993473_
Metadata
Metadata
Assignees
Labels
plugin: warningsrelated to the warnings builtin pluginrelated to the warnings builtin plugintopic: configrelated to config handling, argument parsing and config filerelated to config handling, argument parsing and config file