ci: bash shebangs in two tests from main; regenerate the google-workspace skill doc

This commit is contained in:
ethernet
2026-09-21 01:13:59 -04:00
parent 06d2843983
commit f130c79b9a
3 changed files with 7 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ requires_posix_handoff = pytest.mark.skipif(
# Stands in for `hermes`: answers the `update --help` probe (so --keep-stash
# is kept), and appends every non-help invocation's argv as one JSON line so
# the tests can inspect exactly what the update was invoked with.
FAKE_HERMES = """#!/bin/bash
FAKE_HERMES = """#!/usr/bin/env bash
case "$*" in *--help*) echo "--keep-stash"; exit 0 ;; esac
printf '%s\\n' "$*" >> "$HERMES_TEST_ARGV"
exit 0

View File

@@ -18,7 +18,7 @@ pytestmark = [
def _write_executable(path: Path, body: str) -> None:
path.write_text(f"#!/bin/bash\n{body}\n")
path.write_text(f"#!/usr/bin/env bash\n{body}\n")
path.chmod(path.stat().st_mode | stat.S_IXUSR)

View File

@@ -48,6 +48,11 @@ Gmail, Calendar, Drive, Contacts, Sheets, and Docs — through Hermes-managed OA
The setup is fully non-interactive — you drive it step by step so it works
on CLI, Telegram, Discord, or any platform.
Run the setup script with Python from the Hermes environment, not an unrelated
system Python. `--install-deps` syncs Hermes' declared Google extra through PM;
after syncing, restart Hermes and rerun the OAuth command. If Hermes is not
importable, use `hermes setup` first rather than installing packages with pip.
Define a shorthand first:
```bash