From 4212694dc650e61a2c805c6a48388368ddc7e5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 29 Sep 2020 19:38:52 +0200 Subject: [PATCH] Avoid clogging the arparse files, flush regularly --- src/tox_current_env/hooks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tox_current_env/hooks.py b/src/tox_current_env/hooks.py index c59aef7..87d5f3e 100644 --- a/src/tox_current_env/hooks.py +++ b/src/tox_current_env/hooks.py @@ -208,6 +208,7 @@ def tox_runtest(venv, redirect): sep="\n", file=config.option.print_deps_to, ) + config.option.print_deps_to.flush() ret = True if config.option.print_extras_to: @@ -216,6 +217,7 @@ def tox_runtest(venv, redirect): sep="\n", file=config.option.print_extras_to, ) + config.option.print_extras_to.flush() ret = True return ret