Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbar1432 committed Jan 2, 2025
1 parent 5129468 commit ef64419
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func TestClean(t *testing.T) {
}

func BenchmarkClean(b *testing.B) {
for i := 0; i < b.N; i++ {
for range make([]struct{}, b.N) {
// Clean("\u001B[0m\u001B[94m[2023-12-05 19:11:25] [hello_python] >> [2023-12-05 19:11:25 - INFO] Starting extractor: gcs_bucket_files")
Clean("\u001B[0m\u001B[94m[2023-12-05 19:11:26] [hello_python] >> File \"/Users/burak/.bruin/virtualenvs/77ef9663d804ac96afe6fb2a10d2b2b817a07fd82875759af8910b4fe31a7149/lib/python3.9/site-packages/google/api_core/page_iterator.py\", line 208, in _items_iter")
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/path/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func BenchmarkExcludeItemsInDirectoryContainingFile(b *testing.B) {
}
file := "task.yml"

for i := 0; i < b.N; i++ {
for range make([]struct{}, b.N) {
ExcludeSubItemsInDirectoryContainingFile(filePaths, file)
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/pipeline/comment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func BenchmarkCreateTaskFromFileComments(b *testing.B) {

file := "testdata/comments/test.py"

for i := 0; i < b.N; i++ {
for range make([]struct{}, b.N) {
_, err := pipeline.CreateTaskFromFileComments(afero.NewOsFs())(file)
require.NoError(b, err)
}
Expand Down

0 comments on commit ef64419

Please sign in to comment.