Skip to content

Commit

Permalink
feat: adjust code fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
BytePender committed Jan 6, 2025
1 parent 811f945 commit e8eb983
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Options for analysis running.
run:
# include `vendor` `third_party` `testdata` `examples` `Godeps` `builtin`
skip-dirs-use-default: true
# output configuration options
output:
# Format: colored-line-number|line-number|json|tab|checkstyle|code-climate|junit-xml|github-actions
Expand Down Expand Up @@ -31,6 +27,7 @@ linters:
- ineffassign
- gofumpt
issues:
# include `vendor` `third_party` `testdata` `examples` `Godeps` `builtin`
exclude-use-default: true
exclude-files:
- ".*\\.mock\\.go$"
Expand Down
2 changes: 1 addition & 1 deletion components/tool/utils/streamable_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestNewStreamableTool(t *testing.T) {
assert.Equal(t, &openapi3.Schema{
Type: openapi3.TypeObject,
Properties: map[string]*openapi3.SchemaRef{
"name": &openapi3.SchemaRef{
"name": {
Value: &openapi3.Schema{
Type: openapi3.TypeString,
Description: "user name",
Expand Down

0 comments on commit e8eb983

Please sign in to comment.