Closed dmtucker closed 5 years ago
Hey there 👋 I like and use this plugin. Thanks for maintaining it! I encountered this while using pytest-bandit:
pytest-bandit
Unknown pytest.mark.bandit - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
We encountered a similar issue with pytest-mypy recently: https://github.com/dbader/pytest-mypy/issues/25 As the error says, the solution is to register the marker: https://docs.pytest.org/en/latest/writing_plugins.html#registering-markers
pytest-mypy
Oh good find! Thanks for the contribution. This looks good to me so I'll get it merged and in a patch version on pypi.
Hey there 👋 I like and use this plugin. Thanks for maintaining it! I encountered this while using
pytest-bandit
:We encountered a similar issue with
pytest-mypy
recently: https://github.com/dbader/pytest-mypy/issues/25 As the error says, the solution is to register the marker: https://docs.pytest.org/en/latest/writing_plugins.html#registering-markers