Skip to content

Commit c8e8e57

Browse files
committed
add in new python complexity and gofmt
1 parent 67344f8 commit c8e8e57

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

languages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4859,7 +4859,7 @@
48594859
"and ",
48604860
"and(",
48614861
"or ",
4862-
"or(",
4862+
"or("
48634863
],
48644864
"extensions": [
48654865
"py"

processor/bloom.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func BloomHash(b byte) uint64 {
2929
// filter.
3030
var hash uint64
3131
for i := uint64(0); i < 3; i++ {
32-
n := k >> (i*8) & mask64
32+
n := k >> (i * 8) & mask64
3333
hash |= 1 << n
3434
}
3535

processor/constants.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

processor/state_blank.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package processor
22

3-
type StateBlank struct {}
3+
type StateBlank struct{}
44

55
func (state *StateBlank) String() string {
66
return "blank"

processor/state_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package processor
22

3-
type StateCode struct {}
3+
type StateCode struct{}
44

55
func (state *StateCode) String() string {
66
return "code"

processor/state_comment_multi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package processor
22

33
type StateCommentMulti struct {
4-
Stack [][]byte
4+
Stack [][]byte
55
}
66

77
func (state *StateCommentMulti) String() string {

processor/state_comment_single.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package processor
22

3-
type StateCommentSingle struct {}
3+
type StateCommentSingle struct{}
44

55
func (state *StateCommentSingle) String() string {
66
return "comment"

processor/state_docstring.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
)
66

77
type StateDocString struct {
8-
End []byte
9-
SkipEsc bool
8+
End []byte
9+
SkipEsc bool
1010
}
1111

1212
func (state *StateDocString) String() string {

processor/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ package processor
44

55
import (
66
"bytes"
7-
"sync"
87
"hash"
8+
"sync"
99
)
1010

1111
// Used by trie structure to store the types

processor/workers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ func CountStats(fileJob *FileJob) {
252252

253253
// lineStart is only used to produce the line trace, so it's
254254
// safe to update it inside the condition
255-
lineStart = index+1
255+
lineStart = index + 1
256256
}
257257

258258
if fileJob.Callback != nil {

0 commit comments

Comments
 (0)