Skip to content

Commit f3bc17a

Browse files
Hide local variables on exception (#24)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Close #23
1 parent c6d31f3 commit f3bc17a

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased
8+
9+
## [0.2.3] - 2023-01-26
10+
11+
### Changed
12+
- The value of local variables is now not printed when error occurs.
13+
([#24](https://github.com/pyodide/pyodide-cli/pull/24))
14+
715
## [0.2.2] - 2022-12-22
816
### Changed
917
- `pyodide --help` will now group subcommands by their package name.

pyodide_cli/app.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88

99
from . import __version__
1010

11-
app = typer.Typer(add_completion=False, rich_markup_mode="markdown")
11+
app = typer.Typer(
12+
add_completion=False,
13+
rich_markup_mode="markdown",
14+
pretty_exceptions_show_locals=False,
15+
)
1216

1317

1418
def version_callback(value: bool):

0 commit comments

Comments
 (0)