bandit icon indicating copy to clipboard operation
bandit copied to clipboard

Add a custom plugin from configuration instead of setuptools

Open 4br3mm0rd opened this issue 4 months ago • 0 comments

Hi everyone!

Is your feature request related to a problem? Please describe. I am writing a custom bandit plugin for my project and from what I understand, I need to add an entrypoint to my setup.py file and run pip install -e in order to get it to work. Since I am running it as a pre-commit hook, it is even more frustrating and I have no idea how to do it. Am I missing something?

Describe the solution you'd like I want to be able to add to my pyproject.toml file, under tools.bandit:

plugins = ["xxx = xxx.xxx:x"]

and to have bandit automatically load it when loading the config.

Describe alternatives you've considered No answer.

Additional context No answer.

Love this idea? Give it a 👍. We prioritize fulfilling features with the most 👍.

Thank you!

4br3mm0rd avatar Oct 08 '24 23:10 4br3mm0rd