Skip to content

chore: Remove gosec from test files#5293

Draft
alarso16 wants to merge 1 commit intomasterfrom
alarso16/gosec-test
Draft

chore: Remove gosec from test files#5293
alarso16 wants to merge 1 commit intomasterfrom
alarso16/gosec-test

Conversation

@alarso16
Copy link
Copy Markdown
Contributor

@alarso16 alarso16 commented Apr 16, 2026

Why this should be merged

Specifying each nosec clause in a test file is unnecessary. If something's wrong, the test will probably fail! Most of the time, it's false positives anyway

How this works

Remove gosec checks from tests and all corresponding nolints. I found some other stale nosec's, so I removed them too. Unfortunately, there doesn't seem to be a linter for unnecessary nosec's.

How this was tested

CI passes

Need to be documented in RELEASES.md?

No

@alarso16 alarso16 force-pushed the alarso16/gosec-test branch from 7023e92 to 2410fe5 Compare April 16, 2026 19:47
Base automatically changed from alarso16/gastime-hook-imports to master April 17, 2026 16:15
@alarso16 alarso16 force-pushed the alarso16/gosec-test branch from 2410fe5 to 38cbf10 Compare April 17, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant