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

More linters - Gosec, staticcheck #4608

Merged
merged 10 commits into from
Jun 26, 2019
Merged

More linters - Gosec, staticcheck #4608

merged 10 commits into from
Jun 26, 2019

Conversation

tac0turtle
Copy link
Member

@tac0turtle tac0turtle commented Jun 21, 2019

ref #4589

  • Added gosec, staticcheck

Signed-off-by: Marko Baricevic [email protected]

  • Targeted PR against correct branch (see CONTRIBUTING.md)

  • Linked to github-issue with discussion and accepted design OR link to spec that describes this work.

  • Wrote tests

  • Updated relevant documentation (docs/)

  • Added a relevant changelog entry: clog add [section] [stanza] [message]

  • rereviewed Files changed in the github PR explorer


For Admin Use:

  • Added appropriate labels to PR (ex. wip, ready-for-review, docs)
  • Reviewers Assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

- Added gosec, staticcheck

Signed-off-by: Marko Baricevic <[email protected]>
client/rpc/block.go Outdated Show resolved Hide resolved
client/rpc/validators.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Jun 21, 2019

Codecov Report

Merging #4608 into master will decrease coverage by 0.83%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #4608      +/-   ##
==========================================
- Coverage   53.63%   52.79%   -0.84%     
==========================================
  Files         260      264       +4     
  Lines       16178    16468     +290     
==========================================
+ Hits         8677     8695      +18     
- Misses       6855     7126     +271     
- Partials      646      647       +1

@tac0turtle tac0turtle marked this pull request as ready for review June 21, 2019 16:46
client/rpc/block.go Outdated Show resolved Hide resolved
@alexanderbez alexanderbez added Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity. ready-for-review labels Jun 21, 2019
client/rpc/validators.go Outdated Show resolved Hide resolved
client/rpc/validators.go Outdated Show resolved Hide resolved
server/util.go Outdated Show resolved Hide resolved
server/util.go Outdated Show resolved Hide resolved
simapp/export.go Show resolved Hide resolved
client/input/input.go Show resolved Hide resolved
client/rpc/block.go Outdated Show resolved Hide resolved
client/rpc/block.go Outdated Show resolved Hide resolved
client/rpc/validators.go Outdated Show resolved Hide resolved
client/rpc/validators.go Outdated Show resolved Hide resolved
Copy link
Contributor

@alexanderbez alexanderbez left a comment

Choose a reason for hiding this comment

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

ACK

@alessio
Copy link
Contributor

alessio commented Jun 22, 2019

We can't merge this in due to the removal of the lint build step from the CI config - @mircea-c can you help us please?

@mircea-c
Copy link

I'll see if I can fix this a little later tonight. Will probably have to manually update the check through the gihub api.

@mircea-c
Copy link

Guys, I tried to update this check manually, but it doesn't look like CircleCI is using the github checks api (possibly because it's still under active development)

To merge this you'll need a repo admin to disable the check from the branch protection rules:

https://circleci.com/docs/2.0/enable-checks/#github-checks-waiting-for-status-in-github

@alessio
Copy link
Contributor

alessio commented Jun 24, 2019

cc'ing @ebuchman @jaekwon then

@tac0turtle
Copy link
Member Author

@jackzampolin do you have permissions?

@jackzampolin jackzampolin merged commit b2f8c58 into master Jun 26, 2019
@jackzampolin jackzampolin deleted the marko/add-more-linters branch June 26, 2019 20:30
larry0x pushed a commit to larry0x/cosmos-sdk that referenced this pull request May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Code Hygiene General cleanup and restructuring of code to provide clarity, flexibility, and modularity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants