shopkeep/pytest-black

PytestUnknownMarkWarning

Closed this issue · 1 comments

When running with pytest-black, I see these warnings in a test run:

.tox/python/lib/python3.7/site-packages/_pytest/mark/structures.py:324
.tox/python/lib/python3.7/site-packages/_pytest/mark/structures.py:324
  /Users/jaraco/code/main/pip-run/.tox/python/lib/python3.7/site-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.black - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html
    PytestUnknownMarkWarning,

-- Docs: https://docs.pytest.org/en/latest/warnings.html

Removing the --black from the addopts in pytest.ini, the warnings go away.

As you can see: Python 3.7.1, pytest-4.5.0, py-1.8.0, pluggy-0.11.0

Looks like #31 seeks to address this warning. Please consider a release soon so I can avoid having to suppress the warning.