chore(deps): update pre-commit hook golangci/golangci-lint to v2.7.0 #29

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/golangci-golangci-lint-2.x into main 2025-12-04 07:26:57 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2025-12-03 19:55:13 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
golangci/golangci-lint repository minor v2.6.2 -> v2.7.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.7.0

Compare Source

Released on 2025-12-03

  1. Bug fixes
    • fix: clone args used by custom command
  2. Linters new features or changes
    • no-sprintf-host-port: from 0.2.0 to 0.3.1 (ignore string literals without a colon)
    • unqueryvet: from 1.2.1 to 1.3.0 (handles const and var declarations)
    • revive: from 1.12.0 to 1.13.0 (new option: enable-default-rules, new rules: forbidden-call-in-wg-go, unnecessary-if, inefficient-map-lookup)
    • modernize: from 0.38.0 to 0.39.0 (new analyzers: plusbuild, stringscut)
  3. Linters bug fixes
    • perfsprint: from 0.10.0 to 0.10.1
    • wrapcheck: from 2.11.0 to 2.12.0
    • godoc-lint: from 0.10.1 to 0.10.2
  4. Misc.
    • Add some flags to the custom command
  5. Documentation
    • docs: split changelog v1 and v2

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

This MR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | repository | minor | `v2.6.2` -> `v2.7.0` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://github.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v2.7.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v270) [Compare Source](https://github.com/golangci/golangci-lint/compare/v2.6.2...v2.7.0) *Released on 2025-12-03* 1. Bug fixes - fix: clone args used by `custom` command 2. Linters new features or changes - `no-sprintf-host-port`: from 0.2.0 to 0.3.1 (ignore string literals without a colon) - `unqueryvet`: from 1.2.1 to 1.3.0 (handles `const` and `var` declarations) - `revive`: from 1.12.0 to 1.13.0 (new option: `enable-default-rules`, new rules: `forbidden-call-in-wg-go`, `unnecessary-if`, `inefficient-map-lookup`) - `modernize`: from 0.38.0 to 0.39.0 (new analyzers: `plusbuild`, `stringscut`) 3. Linters bug fixes - `perfsprint`: from 0.10.0 to 0.10.1 - `wrapcheck`: from 2.11.0 to 2.12.0 - `godoc-lint`: from 0.10.1 to 0.10.2 4. Misc. - Add some flags to the `custom` command 5. Documentation - docs: split changelog v1 and v2 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMy4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2025-12-03 19:55:16 +00:00 (Migrated from gitlab.com)

mentioned in issue #1

mentioned in issue #1
argoyle commented 2025-12-03 20:07:42 +00:00 (Migrated from gitlab.com)

Codecov Report

All modified and coverable lines are covered by tests.
Project coverage is 76.81%. Comparing base (2b7e76f) to head (7161e4d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   76.81%   76.81%           
=======================================
  Files           1        1           
  Lines          69       69           
=======================================
  Hits           53       53           
  Misses         16       16           

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
## [Codecov](https://app.codecov.io/gl/unboundsoftware/storage/pull/28?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware) Report :white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 76.81%. Comparing base ([`2b7e76f`](https://app.codecov.io/gl/unboundsoftware/storage/commit/2b7e76f84f203ba5d36e86d8068a971b4995e32b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)) to head ([`7161e4d`](https://app.codecov.io/gl/unboundsoftware/storage/commit/7161e4d37a8079c909efc4461a6f77c9955688b7?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware)). <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #28 +/- ## ======================================= Coverage 76.81% 76.81% ======================================= Files 1 1 Lines 69 69 ======================================= Hits 53 53 Misses 16 16 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware/storage/pull/28?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=unboundsoftware). :loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4). <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. - :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges. </details>
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2025-12-03 20:55:18 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
argoyle commented 2025-12-04 07:26:57 +00:00 (Migrated from gitlab.com)

mentioned in commit 6c5e0d90db

mentioned in commit 6c5e0d90dbbcf5eb1ef23bcd88e27a11cc181821
argoyle (Migrated from gitlab.com) merged commit 6c5e0d90db into main 2025-12-04 07:26:57 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/storage#29