Skip to content

chore: extend linters to tests and fix some of them - #3271

Open
mmorel-35 wants to merge 1 commit into
moby:masterfrom
mmorel-35:golangci-lint
Open

chore: extend linters to tests and fix some of them#3271
mmorel-35 wants to merge 1 commit into
moby:masterfrom
mmorel-35:golangci-lint

Conversation

@mmorel-35

Copy link
Copy Markdown
Contributor

- What I did

Enable tests linting in golangci-lint config. Make the exclusion concerning tests narrowed in the exclusion rules so they can progressively be enabled.

- How I did it

Run golangci-lint --fix to fiw autofixable issues then fix manually the rest of the raised issues

- How to test it

- Description for the changelog

@mmorel-35 mmorel-35 changed the title chore: extend linters to test and fix some of them chore: extend linters to tests and fix some of them Jul 29, 2026
@mmorel-35
mmorel-35 force-pushed the golangci-lint branch 2 times, most recently from f756b0b to 92703b9 Compare July 30, 2026 06:06
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.71%. Comparing base (5a92899) to head (acdc3db).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3271      +/-   ##
==========================================
- Coverage   14.76%   14.71%   -0.06%     
==========================================
  Files         200      200              
  Lines       93027    93027              
==========================================
- Hits        13736    13688      -48     
- Misses      77961    77997      +36     
- Partials     1330     1342      +12     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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