Skip to content

Add semgrep rule for BatEnum #1784

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

Merged
merged 16 commits into from
Jul 22, 2025
Merged

Add semgrep rule for BatEnum #1784

merged 16 commits into from
Jul 22, 2025

Conversation

sim642
Copy link
Member

@sim642 sim642 commented Jul 17, 2025

Relates to issue #1437. PR #1443 didn't fix everything, possibly because new instances were introduced over the year.

Somehow the semgrep CI job passes, although locally semgrep scan --config .semgrep/ does not. Maybe because this PR doesn't touch that code, so the semgrep bot cannot comment on it in this PR.

@sim642 sim642 added cleanup Refactoring, clean-up good first issue labels Jul 17, 2025
@michael-schwarz michael-schwarz self-assigned this Jul 21, 2025
@michael-schwarz
Copy link
Member

Not sure why the nosemgrep comments don't work here, they do on my machine (semgrep 1.56.0).

@michael-schwarz michael-schwarz marked this pull request as ready for review July 21, 2025 11:28
@sim642
Copy link
Member Author

sim642 commented Jul 21, 2025

Not sure why the nosemgrep comments don't work here, they do on my machine (semgrep 1.56.0).

As far as I remember, it has always been the case that they're not respected in the GitHub integration.

@michael-schwarz
Copy link
Member

@sim642: I have now implemented your suggestions, feel free to have another look!

@sim642 sim642 added this to the v2.6.0 milestone Jul 22, 2025
@sim642 sim642 merged commit aa522e3 into master Jul 22, 2025
19 checks passed
@sim642 sim642 deleted the semgrep-batenum branch July 22, 2025 09:57
@sim642 sim642 mentioned this pull request Apr 30, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Refactoring, clean-up good first issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants