Hi,
Since eradicate v2.0, tests/test_linters.py::test_eradicate fails with:
def test_eradicate():
eradicate = LINTERS.get('eradicate')
> errors = eradicate.run('', code="\n".join([
"#import os",
"# from foo import junk",
"#a = 3",
"a = 4",
"#foo(1, 2, 3)",
]))
E AttributeError: 'NoneType' object has no attribute 'run'
tests/test_linters.py:16: AttributeError
The commit which broke it is myint/eradicate@7ac22160d80f296c4c74b40b499c56f3549f208b (merged as myint/eradicate@6ca1b944d60f39691a553b3da346221da769b2a7).
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/94631408-test_eradicate-fails-with-attributeerror-nonetype-object-has-no-attribute-run?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F394650&utm_medium=issues&utm_source=github).
Hi, Since eradicate v2.0,
tests/test_linters.py::test_eradicate
fails with:The commit which broke it is myint/eradicate@7ac22160d80f296c4c74b40b499c56f3549f208b (merged as myint/eradicate@6ca1b944d60f39691a553b3da346221da769b2a7).