jendrikseipp / vulture

Find dead Python code
MIT License
3.38k stars 148 forks source link

Replace use of whitelist with allowlist/clearlist and blacklist with denylist/blocklist #273

Open hvongsachang opened 2 years ago

hvongsachang commented 2 years ago

In a similar fashion to this issue: https://github.com/rails/rails/issues/33677, it would be nice if vulture could replace use of whitelist with allowlist/clearlist and blacklist with denylist/blocklist for better terminology. If not replace, then perhaps add support to detect allowlist and blocklist.

jendrikseipp commented 1 year ago

I think we can even find a more specific name for the modules that fake code usage. I like the name "fake module" and would be happy to review a pull request that changes

SvenWarnke commented 1 year ago

I am not sure if --make-fake-module is as intuitive.