Skip to content

Commit

Permalink
Run codespell on code
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Jan 21, 2022
1 parent 15296d9 commit 2858904
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ endif
# use source debugging tools like delve.
all: bin/skopeo docs

codespell:
codespell -S Makefile,build,buildah,buildah.spec,imgtype,copy,AUTHORS,bin,vendor,.git,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L fpr,uint,iff,od,ERRO -w

help:
@echo "Usage: make <target>"
@echo
Expand Down
2 changes: 1 addition & 1 deletion cmd/skopeo/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const maxJSONFloat = float64(1<<53 - 1)
type request struct {
// Method is the name of the function
Method string `json:"method"`
// Args is the arguments (parsed inside the fuction)
// Args is the arguments (parsed inside the function)
Args []interface{} `json:"args"`
}

Expand Down
2 changes: 1 addition & 1 deletion integration/proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const expectedProxySemverMajor = "0.2"
type request struct {
// Method is the name of the function
Method string `json:"method"`
// Args is the arguments (parsed inside the fuction)
// Args is the arguments (parsed inside the function)
Args []interface{} `json:"args"`
}

Expand Down

0 comments on commit 2858904

Please sign in to comment.