Skip to content

lint: cleanup pending lint errors #7237

Merged
tychoish merged 9 commits intotendermint:v0.34.xfrom
tychoish:lint-cleanup-34
Nov 4, 2021
Merged

lint: cleanup pending lint errors #7237
tychoish merged 9 commits intotendermint:v0.34.xfrom
tychoish:lint-cleanup-34

Conversation

@tychoish
Copy link
Contributor

@tychoish tychoish commented Nov 4, 2021

for v0.34.x

@cmwaters
Copy link
Contributor

cmwaters commented Nov 4, 2021

I think some of these errors is because we only introduces stricter spelling conditions in 0.35 onwards (i.e. American English)

@tychoish
Copy link
Contributor Author

tychoish commented Nov 4, 2021

I think some of these errors is because we only introduces stricter spelling conditions in 0.35 onwards (i.e. American English)

The more confusing thing is that all of the remaining issues seem to be typecheck in CI which is turned off and don't fail locally?

@cmwaters
Copy link
Contributor

cmwaters commented Nov 4, 2021

I have a feeling that the linter doesn't update until after the PR is merged so it still has all the old linting settings

@tychoish
Copy link
Contributor Author

tychoish commented Nov 4, 2021

looks like it worked though!

@tychoish tychoish added the S:automerge Automatically merge PR when requirements pass label Nov 4, 2021
Copy link
Contributor

@cmwaters cmwaters left a comment

Choose a reason for hiding this comment

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

Nicceee

@tychoish tychoish merged commit 4ef140f into tendermint:v0.34.x Nov 4, 2021
cmwaters pushed a commit to cmwaters/tendermint that referenced this pull request Dec 12, 2022
* abci: PrepareProposal (tendermint#6544)

* regenerate mocks, proto, mod/sum, and clean up remaining preprocesstxs

* fix tests and revert to old go.mod

* mockery

* add processproposal proto/boilerplate/logic

* gofmt

* fix test

* move UNKNOWN response behaviour to reject

* fix test and add testing util code

* pass full block data when proposing or processing proposals

* linter

* add the process proposal method to the e2e app

* add missing kvstore abci method

* pass block data and results for bass app

* use correct kvstore process logic for kvstore app

* add new lazy share writers

* linter

* remove unused arg

* sort messages before exporting

* formatting and bug fix

* fix tests

* allow for picking of square size when computing shares for the data square

* remove accidental code duplication

* fix test from using wrong formatting directive

* linter

* ci: backport lint configuration changes (tendermint#7225)

* lint: cleanup pending lint errors  (tendermint#7237)

* linter

* remove unused arg

* sort messages before exporting

* formatting and bug fix

* fix tests

* allow for picking of square size when computing shares for the data square

* fix test from using wrong formatting directive

* linter

* ci: backport lint configuration changes (tendermint#7225)

* lint: cleanup pending lint errors  (tendermint#7237)

* add new lazy share writers

* fix rebase

* linter

* try ci with go 1.17

* Revert "try ci with go 1.17"

This reverts commit 0f76b4d444465cf8209bd98bb18f21b242207436.

* please work, linter gods

* spelling

Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>

* initialize pending share using the const share size for capacity

* force the last reserve bytes to be zero

* remove todo

* add typecheck back to golang linter

* Revert "ci: backport lint configuration changes (tendermint#7225)"

This reverts commit 35178048f0fef2d80a0346f28c7687be75c3db11.

* Revert "lint: cleanup pending lint errors  (tendermint#7237)"

This reverts commit 5d806709a9dbfed4f7dda2facb49d46604584d36.

* add the link to issue back in

* removed unfinished comment

* switch fuzzer back to one minute

* regenerate proto

* better docs

* fix encoding check to include the hash added to Data

* add docs to CotiguousShareWriter

* fix encoding check

* explain why the share reserve byte is zero

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use punctuation

Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>

* use clearer wording for compute shares docs

* more accurate docs

Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: mconcat <monoidconcat@gmail.com>
Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: Hlib Kanunnikov <hlibwondertan@gmail.com>
Co-authored-by: Ismail Khoffi <Ismail.Khoffi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S:automerge Automatically merge PR when requirements pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants