Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a custom plugin from configuration instead of setuptools #1188

Open
4br3mm0rd opened this issue Oct 8, 2024 · 0 comments
Open

Add a custom plugin from configuration instead of setuptools #1188

4br3mm0rd opened this issue Oct 8, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@4br3mm0rd
Copy link

4br3mm0rd commented Oct 8, 2024

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 4br3mm0rd added the enhancement New feature or request label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant