bandit icon indicating copy to clipboard operation
bandit copied to clipboard

Can we add a json schema to complete pyproject.toml's [tool.bandit]?

Open Freed-Wu opened this issue 1 year ago • 1 comments

json schema can let editor which support LSP to complete some configuration file. Such as:

Screenshot from 2024-01-20 23-24-42

There are many tools have supported json schema: https://json.schemastore.org/pyproject.json

Screenshot from 2024-01-20 23-36-38

Can tool.bandit be supported?

Describe the solution you'd like

Refer https://github.com/cmhughes/latexindent.pl/issues/206:

The steps are following:

  1. Create a json schema
  2. Add its URL to schemastore.

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

Freed-Wu avatar Jan 22 '24 08:01 Freed-Wu

I don't mind this, as long as it has no impact on those not using a JSON Schema supported editor.

lukehinds avatar Jan 23 '24 19:01 lukehinds