tholo / pytest-flake8

pytest plugin to run flake8
Other
117 stars 47 forks source link

Breaks with pytest 3.7.0 #52

Closed romanlevin closed 6 years ago

romanlevin commented 6 years ago
_____________________________________________________________________________________________________________ ERROR collecting  ______________________________________________________________________________________________________________
/home/vagrant/.pyenv/versions/3.6.5/envs/turbo/lib/python3.6/site-packages/_pytest/runner.py:201: in __init__
    self.result = func()
/home/vagrant/.pyenv/versions/3.6.5/envs/turbo/lib/python3.6/site-packages/_pytest/runner.py:261: in <lambda>
    call = CallInfo(lambda: list(collector.collect()), "collect")
/home/vagrant/.pyenv/versions/3.6.5/envs/turbo/lib/python3.6/site-packages/_pytest/main.py:475: in collect
    for x in self._collect(arg):
/home/vagrant/.pyenv/versions/3.6.5/envs/turbo/lib/python3.6/site-packages/_pytest/main.py:505: in _collect
    col = root._collectfile(pkginit)
E   AttributeError: 'Flake8Item' object has no attribute '_collectfile'
jacquerie commented 6 years ago

Thanks, but this is a duplicate of https://github.com/tholo/pytest-flake8/issues/51.