Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/source/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ all releases are available on `PyPI <https://pypi.org/project/pytask>`_ and
`Anaconda.org <https://anaconda.org/conda-forge/pytask>`_.


0.1.1 - 2021-xx-xx
------------------

- :gh:`138` changes the default verbosity to ``1`` which displays the live table during
execution and ``0`` display the symbols for outcomes (e.g. ``.``, ``F``, ``s``).


0.1.0 - 2021-07-20
------------------

Expand Down
2 changes: 1 addition & 1 deletion src/_pytask/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def pytask_parse_config(config, config_from_cli, config_from_file):
config_from_cli,
config_from_file,
key="verbose",
default=0,
default=1,
callback=lambda x: x if x is None else int(x),
)

Expand Down
2 changes: 1 addition & 1 deletion src/_pytask/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def pytask_post_parse(config):
live_manager = LiveManager()
config["pm"].register(live_manager, "live_manager")

if config["verbose"] >= 0:
if config["verbose"] >= 1:
live_execution = LiveExecution(live_manager, config["paths"])
config["pm"].register(live_execution)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_live.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def test_verbose_mode_execution(tmp_path, runner, verbose):

args = [tmp_path.as_posix()]
if not verbose:
args.append("-v -1")
args.append("-v 0")
result = runner.invoke(cli, args)

assert ("Task" in result.output) is verbose
Expand Down