Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

term garbage #44

Merged
merged 2 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/jeeves-py.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Every Python function in `jeeves.py` is converted into a command.
* Docstrings are used as command documentation,
* Command arguments are configured by arguments of respective functions (and their type hints!)

Let's recall the Hello World script we [:arrow_backward: had referenced before](../#get-started):
Let's look at a simple Hello World script.

{{ code(page.meta.hello, language='python', title='jeeves.py') }}

Expand Down
5 changes: 2 additions & 3 deletions macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,12 @@ def j(
args: Optional[List[str]] = None,
environment: Optional[Dict[str, str]] = None,
):
environment = environment or {
'TERM': 'dumb',
}
environment = environment or {}

environment = {
**os.environ,
**environment,
'TERM': 'dumb',
}

if annotations is None:
Expand Down