summaryrefslogtreecommitdiff
path: root/runner/python/runner.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-29 01:30:12 +0200
committerewy <ewy0@protonmail.com>2026-04-29 01:30:12 +0200
commit2b28ee919614d5ddaceda26ce488a0ca4c851cb3 (patch)
treedf9a9af3f6b37165c9522eefea8456aa1baea9d5 /runner/python/runner.go
parent19f68366eb4a2c01f801b29585fd0a36bdf47488 (diff)
simplify the contracts
Diffstat (limited to 'runner/python/runner.go')
-rw-r--r--runner/python/runner.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/runner/python/runner.go b/runner/python/runner.go
index 2293336..73192e6 100644
--- a/runner/python/runner.go
+++ b/runner/python/runner.go
@@ -14,6 +14,7 @@ type python struct {
Venvs map[string]string
Uv string
System string
+ files map[string]string
}
func (p python) Init() error {
@@ -72,7 +73,7 @@ func (p python) CreateTarget(fs fs.FS, source string, file string, entry fs.DirE
Identity: identity.New(filename),
MyTags: model.TagsFromFilename(filename),
},
- File: file,
+ Path: file,
}, nil
}