Skip to content

chore: add bandit (static security analysis) to pre-commit - #12

Closed
fstagni wants to merge 1 commit into
DIRACGrid:masterfrom
fstagni:bandit
Closed

fstagni wants to merge 1 commit into
DIRACGrid:masterfrom
fstagni:bandit

Conversation

@fstagni

@fstagni fstagni commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Part of DIRACGrid/.github#5.

Adds the bandit hook to pre-commit, matching DIRAC's setup: configuration read from pyproject.toml ([tool.bandit]), tests excluded.

Clean run: 0 findings, no skips needed.

Matches DIRAC's setup: configuration read from pyproject.toml, tests
excluded. Clean run with no findings and no skips needed.

Part of DIRACGrid/.github#5.
@aldbr

aldbr commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

As it's a diracx-related project, should we use ruff instead here?

@fstagni

fstagni commented Nov 20, 2026

Copy link
Copy Markdown
Contributor Author

Yes! Closing this PR now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants