jendrikseipp / vulture

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

[feat] Support setup.cfg configuration file #295

Closed qcoumes closed 1 year ago

qcoumes commented 1 year ago

It would be great if vulture also supports a setup.cfg configuration file file, or at least has an argument taking a path to a configuration file.

A lot of project uses setup.cfg and a lot of tools support it (pytest, flake8, pydocstyle, pycodestyle, ...)

RJ722 commented 1 year ago

Vulture already has support for pyproject.toml files (which are getting popular with python projects these days). Please see https://github.com/jendrikseipp/vulture#configuration.

jendrikseipp commented 1 year ago

Thanks for the suggestion, but for code simplicity we consider this feature out of scope.