diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-20 08:07:43 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-20 08:15:23 +0900 |
| commit | b482fd4abfb2b3765b1791915b31067a0f80fec7 (patch) | |
| tree | 1cb95592a7f243aa920e3f4c497909a2e8bf9efb /internal/rosa/python.go | |
| parent | 2e502ede6c885496f4ac0a480aa4e4e337c54f51 (diff) | |
internal/rosa: remove global handles
These no longer serve any purpose.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/python.go')
| -rw-r--r-- | internal/rosa/python.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go index bce36256..d80aee76 100644 --- a/internal/rosa/python.go +++ b/internal/rosa/python.go @@ -29,10 +29,13 @@ type PipHelper struct { var _ Helper = new(PipHelper) +// pythonPyTest is used by [PipHelper] for automated testing. +var pythonPyTest = H("python-pytest") + // extra returns python, or pytest if defaults are assumed. func (attr *PipHelper) extra(int) P { if attr == nil || (!attr.SkipCheck && attr.Check == "") { - return P{PythonPyTest} + return P{pythonPyTest} } return P{Python} } |
