Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ linters:
- shadow
misspell:
locale: US
# extra words from https://go.dev//wiki/Spelling
# extra words from https://go.dev/wiki/Spelling
extra-words:
- typo: marshall
correction: marshal
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Its subcommands are:
- `update-go` - updates Go files with documentation URLs and formats comments.
It is used by `script/generate.sh`.

- `format` - formats whitespace in `openapi_operations.yaml` and sorts its
- `format` - formats white space in `openapi_operations.yaml` and sorts its
arrays. It is used by `script/fmt.sh`.

- `unused` - lists operations from `openapi_operations.yaml` that are not mapped
Expand Down
4 changes: 2 additions & 2 deletions tools/metadata/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ Update go source code to be consistent with openapi_operations.yaml.
- Formats modified files with the equivalent of "go fmt".
`,

"format_help": `Format whitespace in openapi_operations.yaml and sort its operations.`,
"format_help": `Format white space in openapi_operations.yaml and sort its operations.`,
"unused_help": `List operations in openapi_operations.yaml that aren't used by any service methods.`,

"working_dir_help": `Working directory. Should be the root of the go-github repository.`,
"openapi_ref_help": `Git ref to pull OpenAPI descriptions from.`,

"openapi_validate_help": `
Instead of updating, make sure that the operations in openapi_operations.yaml's "openapi_operations" field are
consistent with the sha listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust
consistent with the SHA listed in "openapi_commit". This is run in CI as a convenience so that reviewers can trust
changes to openapi_operations.yaml.
`,

Expand Down
Loading