Skip to content
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

chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.4 (main) #831

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

red-hat-konflux[bot]
Copy link
Contributor

@red-hat-konflux red-hat-konflux bot commented Jan 2, 2025

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint repository minor v1.62.2 -> v1.63.4

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)

v1.63.4

Compare Source

  1. Linters bug fixes
    • dupl, gomodguard, revive: keep only Go-files.

v1.63.3

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with several trailing EOL
    • goheader: skip issues with invalid positions

v1.63.2

Compare Source

  1. Linters bug fixes
    • gofmt, gofumpt, goimports, gci: panic with missing trailing EOL

v1.63.1

Compare Source

  1. Linters bug fixes
    • cgi: invalid reports with cgo
    • gofumpt: panic with autofix and cgo

v1.63.0

Compare Source

  1. Enhancements
    • Add support for SuggestedFixes 🎉 (35 linters can "autofix" reports).
    • Formatters (gofmt, goimports, gofumpt, gci) are applied after the suggested fixes.
  2. New linters
  3. Linters new features
    • gci: new options: no-inline-comments, no-prefix-comments
    • gomoddirectives: from 0.2.4 to 0.6.0 (new options: go-version-pattern, toolchain-pattern,toolchain-forbidden, tool-forbidden, go-debug-forbidden)
    • govet: new stdversion, waitgroup analyzers
    • importas: allow multiple empty aliases
    • loggercheck: new slog option
    • recvcheck: from 0.1.2 to 0.2.0 (new options: disable-builtin, exclusions)
    • tagliatelle: from 0.5.0 to 0.7.1 (new options: ignored-fields, extended-rules,overrides, pkg, ignore)
    • usestdlibvars: from 1.27.0 to 1.28.0 (autofix)
    • wrapcheck: from 2.9.0 to 2.10.0 (new option: extra-ignore-sigs)
  4. Linters bug fixes
    • asciicheck: from 0.2.0 to 0.3.0
    • bodyclose: from 5742072 to ed6a65f
    • funlen: from 0.1.0 to 0.2.0
    • ginkgolinter: from 0.18.3 to 0.18.4
    • gochecksumtype: from 0.2.0 to 0.3.1
    • gocognit: from 1.1.3 to 1.2.0
    • godot: from 1.4.18 to 1.4.20
    • goheader: report position improvement
    • gosec: handling of global nosec option when it is false
    • iface: from 1.2.1 to 1.3.0
    • importas: from 0.1.0 to 0.2.0
    • intrange: from 0.2.1 to 0.3.0
    • makezero: from 1.1.1 to 1.2.0
    • mirror: from 1.2.0 to 1.3.0
    • nilnil: from 1.0.0 to 1.0.1
    • nosprintfhostport: from 0.1.1 to 0.2.0
    • reassign: from 0.2.0 to 0.3.0
    • spancheck: from 0.6.2 to 0.6.4
    • tagalign: from 1.3.4 to 1.4.1
    • wastedassign: from 2.0.7 to 2.1.0
    • whitespace: from 0.1.1 to 0.2.0
    • wsl: from 4.4.1 to 4.5.0
  5. Deprecations
    • ⚠️ output.uniq-by-line is deprecated and replaced by issues.uniq-by-line.
  6. Misc.
    • Improvements of the help command (color and JSON support).
    • Removes decoder, sloglint, tagalin from format preset.
    • Enables paths with junction inside Windows.
    • The timeout is disabled if run.timeout <= 0.

Configuration

📅 Schedule: Branch creation - "after 5am on thursday" (UTC), Automerge - At any time (no schedule defined).

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

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

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


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

To execute skipped test pipelines write comment /ok-to-test.

This PR has been generated by MintMaker (powered by Renovate Bot).

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 2, 2025
@openshift-ci openshift-ci bot requested review from eggfoobar and jeff-roche January 2, 2025 08:44
Copy link
Contributor

openshift-ci bot commented Jan 2, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign qjkee for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.98%. Comparing base (d481018) to head (74af603).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #831      +/-   ##
==========================================
- Coverage   69.32%   68.98%   -0.35%     
==========================================
  Files          50       50              
  Lines        3443     3443              
==========================================
- Hits         2387     2375      -12     
- Misses        868      880      +12     
  Partials      188      188              

see 5 files with indirect coverage changes

@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.1 (main) chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.2 (main) Jan 2, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main-main/golangci-golangci-lint-1.x branch from 0be6912 to 3101a41 Compare January 2, 2025 16:18
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.2 (main) chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.3 (main) Jan 2, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main-main/golangci-golangci-lint-1.x branch from 3101a41 to 5f391ff Compare January 2, 2025 20:35
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot changed the title chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.3 (main) chore(deps): update pre-commit hook golangci/golangci-lint to v1.63.4 (main) Jan 9, 2025
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/main-main/golangci-golangci-lint-1.x branch from 5f391ff to 74af603 Compare January 9, 2025 08:40
Copy link
Contributor

openshift-ci bot commented Jan 9, 2025

@red-hat-konflux[bot]: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant