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: enable more Go linters #8333

Merged
merged 3 commits into from
Nov 8, 2023
Merged

chore: enable more Go linters #8333

merged 3 commits into from
Nov 8, 2023

Conversation

NicholasBlaskey
Copy link
Contributor

@NicholasBlaskey NicholasBlaskey commented Nov 6, 2023

Description

Enables and sorts remaining linters left to be enabled.

Please review the EE changes commit here https://github.com/determined-ai/determined-ee/pull/1118

Test Plan

CI passes

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

@cla-bot cla-bot bot added the cla-signed label Nov 6, 2023
Copy link

netlify bot commented Nov 6, 2023

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit 9e900fa
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/654b9bd2f351c10008843806

@NicholasBlaskey NicholasBlaskey marked this pull request as ready for review November 6, 2023 15:45
@NicholasBlaskey NicholasBlaskey requested a review from a team as a code owner November 6, 2023 15:45
Copy link
Member

@hamidzr hamidzr left a comment

Choose a reason for hiding this comment

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

looks good thanks for organizing these

@@ -84,79 +84,66 @@ linters-settings:
linters:
Copy link
Member

Choose a reason for hiding this comment

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

do you have a resolved list of which ones are effectively moving out of the disabled list through this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep should be

        bidichk
        containedctx
        decorder
        durationcheck
        errname
        exhaustruct
        gofumpt
        gosimple
        grouper
        importas
        makezero
        nilerr
        noctx
        tenv
        tparallel
        usestdlibvars

@NicholasBlaskey
Copy link
Contributor Author

Admin merging over failing test_launch_layer_mnist

@NicholasBlaskey NicholasBlaskey merged commit 5c93cb0 into main Nov 8, 2023
65 of 80 checks passed
@NicholasBlaskey NicholasBlaskey deleted the enable_more_linters branch November 8, 2023 15:02
@dannysauer dannysauer added this to the 0.26.4 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants