Skip to content

Commit 36770c8

Browse files
committed
fix(lint): correct octal syntax and pyfind command
- Use Go 1.13+ octal syntax (0o755 instead of 0755) in recovery_test.go - Fix ystdlib-py command from 'find' to 'pyfind' in lint.yaml The entry point is defined as 'pyfind' in pyproject.toml
1 parent 3d67c94 commit 36770c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/out_clp_s3/internal/recovery/recovery_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func TestReadDirectory_IgnoresSubdirectories(t *testing.T) {
185185

186186
// Create a subdirectory
187187
subDir := filepath.Join(tmpDir, "subdir.ir")
188-
if err := os.Mkdir(subDir, 0755); err != nil {
188+
if err := os.Mkdir(subDir, 0o755); err != nil {
189189
t.Fatalf("Failed to create subdir: %v", err)
190190
}
191191

taskfiles/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tasks:
3030
vars:
3131
SRC_FILES_:
3232
sh: |-
33-
uv run --project "{{.G_UTILS_YSTDLIB_PY}}" find \
33+
uv run --project "{{.G_UTILS_YSTDLIB_PY}}" pyfind \
3434
"{{.ROOT_DIR}}" \
3535
--exclude "build/**" \
3636
--exclude "tools/**" \

0 commit comments

Comments
 (0)