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

Fix unintended skipping of bandit in pre-commit hooks and added scan specifications #52

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

laserkelvin
Copy link
Contributor

Related issues

N/A

Proposed changes

  • Reconfigures pre-commit bandit specification so that it actually runs and doesn't skip
  • Added .bandit scan customization
  • Ensured that pre-commit actually uses the custom specification regardless of which directory you are in

@laserkelvin laserkelvin added the bug Something isn't working label Feb 8, 2024
@Pennycook Pennycook added this to the 1.2.0 milestone Feb 8, 2024
Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual changes look good, but 6aea3fe is missing the DCO sign-off.

Realized that files were not being scanned correctly with the current configuration.

Signed-off-by: Lee, Kin Long Kelvin <[email protected]>
Signed-off-by: Lee, Kin Long Kelvin <[email protected]>
@laserkelvin
Copy link
Contributor Author

I force pushed after re-signing the commit, sorry about missing that!

@Pennycook Pennycook merged commit 480065b into intel:main Feb 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants