Skip to content

style: fix linter#802

Merged
samber merged 1 commit intomasterfrom
style/fix-lint-errors
Feb 16, 2026
Merged

style: fix linter#802
samber merged 1 commit intomasterfrom
style/fix-lint-errors

Conversation

@samber
Copy link
Owner

@samber samber commented Feb 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 16, 2026 14:42
@samber samber merged commit 34e2ec5 into master Feb 16, 2026
22 checks passed
@samber samber deleted the style/fix-lint-errors branch February 16, 2026 14:42
@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.30%. Comparing base (1089359) to head (fac10d5).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #802      +/-   ##
==========================================
+ Coverage   94.26%   94.30%   +0.04%     
==========================================
  Files          18       18              
  Lines        2860     2969     +109     
==========================================
+ Hits         2696     2800     +104     
- Misses        149      153       +4     
- Partials       15       16       +1     
Flag Coverage Δ
unittests 94.30% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request applies linter fixes across the codebase to ensure compliance with enabled linters (godot, thelper, gocyclo, and revive).

Changes:

  • Added missing period to godoc comment and t.Helper() call in test helper function
  • Removed unnecessary //nolint:gocyclo directives from functions now under complexity threshold
  • Added //nolint:revive directives to intentional empty for-range loops in benchmarks

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
it/lo_test.go Fixed godoc comment punctuation and added t.Helper() call to test helper function
it/intersect.go Removed gocyclo nolint directives from Intersect and IntersectBy functions
benchmark/seq_benchmark_test.go Added revive nolint directives to suppress warnings for intentional empty benchmark loops

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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