klen / pylama

Code audit tool for python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PytestWarning: PylamaItem is an Item subclass and should not be a collector

rzuckerm opened this issue · comments

In pytest 7, I'm seeing the following warning:

PytestWarning: PylamaItem is an Item subclass and should not be a collector, however its bases File are collectors.
Please split the Collectors and the Item into separate node types.
Pytest Doc example: https://docs.pytest.org/en/latest/example/nonpython.html
example pull request on a plugin: https://github.com/asmeurer/pytest-flakes/pull/40/