Releases: jayqi/reprexlite
Releases · jayqi/reprexlite
v0.5.0
- Added experimental IPython interactive editor which can be launched via command line with
reprex --ipython
. This modified IPython editor will run every cell automatically as a reprex.
v0.4.3
- Added explicit setting of code evaluation namespace's
__name__
to '__reprex__'
. Previously this was unset and would get inferred, and weird things like 'builtins'
would turn up. (PR #29)
v0.4.2
- Added support for parsing code copied from an interactive Python shell (REPL) with
>>>
prompts. (#29)
- Fixed issue where
tests
module was unintentionally included in distribution. (#30)
- Fixed missing requirement
importlib_metadata
for Python 3.6 and 3.7. (#31)
v0.4.1
- Added missing LICENSE file.
v0.4.0
- Adds optional IPython extension that enables
%%reprex
cell magic. See documentation for usage. (#21)
v0.3.1
- Documentation improvements. (#14, #19)
v0.3.0
- Changed pygments styling to use the "friendly" color scheme, which looks better for dark backgrounds. (#15)
- Changed submodule organization for code related to reprex formatting. This is now in the
formatting
submodule. (#17)
v0.2.0
- Overwriting old results from reprex inputs: (#8)
- Changed reprexes to—by default—remove lines matching the
comment
prefix (#>
by default). This means that if your input code is a previously rendered reprex, the old results will be removed first and you effectively regenerate it.
- Added a new option
old_results
that—if set to True—will preserve such lines.
- Fixed a bug that caused intentional blank lines to be removed. (#7)
- Added stdout capturing. Any content printed to stdout will be shown as a result in the reprex. (#10)
- Added exception handling and stacktrace capture. If the input code has an exception, the stacktrace will be shown as a result in the reprex. (#12)