Rahul Jha

Results 36 comments of Rahul Jha

Seeing that we already support `# noqa` for some particular flake8 codes (like `F401: module imported but unused` and `F841: local variable is assigned to but never used`), I don't...

@HitLuca because Vulture isn't aware of the package, or it's namespace, we don't need to actually source the actual module -- we just need a variable with the same name.

Thanks for the report, @yoichi! I'll get a fix up for this.

@noorul is correct. You can also use something like `**/*/test_*.py`.

I think the examples in this thread would be worthwhile to mention in the README as canonical examples for whitelisting, especially the trickier ones, like flask. @jendrikseipp If you give...

I will wait for #161 to complete and use something [flake8-json](https://pypi.org/project/flake8-json/) for getting the required json.

I actually went ahead and tried writing a patch for it. It's actually non-trivial and looks like this: ```diff diff --git a/vulture/core.py b/vulture/core.py index 86b1f4d..b647c89 100644 --- a/vulture/core.py +++ b/vulture/core.py...

If Vulture is run on staged/committed files only, it *will* report false "unused import" results. I'm not sure how pre-commit works under the hood, but I'm wondering if it can...

Hi @Llandy3d! I appreciate the reminder -- It comes at just the right time, when I have found some time to work on open source. I'll give another round of...

Regarding ignoring results for functions which are decorated by some specific decorator: > The --ignore-decorators option can be used to ignore functions decorated with the given decorator. This is helpful...