Skip to content

Commit

Permalink
Merge pull request #51 from initia-labs/fix/proto-lint
Browse files Browse the repository at this point in the history
fix proto-lint and run lint
  • Loading branch information
Vritra4 authored Jul 14, 2024
2 parents 0ab1ecc + 276b95c commit af1c9a5
Show file tree
Hide file tree
Showing 23 changed files with 1,110 additions and 720 deletions.
37 changes: 37 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
coverage:
precision: 2
round: down
range: 70...100

status:
project:
default:
threshold: 1% # allow this much decrease on project
changes: false

comment:
layout: "reach, diff, files"
behavior: default # update if exists else create new

ignore:
- "api/"
- "*.md"
- "*.rst"
- "cmd/"
- "contrib/"
- "docs/"
- "networks/"
- "proto/"
- "scripts/"
- "thrid_party/"
- "docker/"
- "client/"
- "custom/"
- "**/cli"
- "**/rest"
- "**/*.pb.go"
- "**/*.pulsar.go"
- "**/*.pb.gw.go"
- "**/test_utils.go"
- "**/module.go"
- "x/ibc/testing"
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LEDGER_ENABLED ?= true
BINDIR ?= $(GOPATH)/bin
BUILDDIR ?= $(CURDIR)/build
DOCKER := $(shell which docker)
HTTPS_GIT := https://github.com/initia-labs/miniwasm.git

# don't override user values
ifeq (,$(VERSION))
Expand Down Expand Up @@ -174,7 +175,7 @@ proto-format:
@$(protoImage) find ./ -name "*.proto" -exec clang-format -i {} \;

proto-lint:
@$(protoImage) buf lint --error-format=json
@$(protoImage) buf lint --error-format=json ./proto

proto-check-breaking:
@$(protoImage) buf breaking --against $(HTTPS_GIT)#branch=main
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af1c9a5

Please sign in to comment.