From 1e558259f6b814d8dcbbddf35195e1d53abf263a Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 23 Oct 2024 13:59:15 +0200 Subject: [PATCH] I don't pass through stdin so it probably doesn't work, but we can still commit it for now --- python/justfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 python/justfile diff --git a/python/justfile b/python/justfile new file mode 100644 index 0000000..0687ee4 --- /dev/null +++ b/python/justfile @@ -0,0 +1,14 @@ +build: + python main.py + +test: + pytest test.py + +run: + python main.py + +jupyter: + zsh ~/.config/helix/run_jupyter_from_helix.zsh python + +send: + python -c 'import sys, textwrap; sys.stdout.write(textwrap.dedent(sys.stdin.read()))' | jupyter run --existing="/tmp/rjh-$(pwd).json"