klen / pylama

Code audit tool for python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken in pytest == 6.0.0

Focus opened this issue · comments

The warning message in #177 is now an error in pytest version 6.0.0

E   pytest.PytestDeprecationWarning: Direct construction of PylamaItem has been deprecated, please use PylamaItem.from_parent.
E   See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@klen Woud you mind checking out my PR and give some feedback if I need to change something? The test is failing but I created an other PR who fix it but it's maybe not the most beautiful fix.

Thank you for the feedback. The issue has been fixed in the latest version (8.0.4).