X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/21c32d80b6f505db545840be21030ddbeef9224e..f8e9544c930a1469bee8b3f131687e2cae52e59b:/black.py diff --git a/black.py b/black.py index 34ffbad..01390b3 100644 --- a/black.py +++ b/black.py @@ -246,7 +246,7 @@ async def schedule_formatting( loop.add_signal_handler(signal.SIGTERM, cancel, _task_values) await asyncio.wait(tasks.values()) cancelled = [] - report = Report(check=not write_back, quiet=quiet) + report = Report(check=write_back is WriteBack.NO, quiet=quiet) for src, task in tasks.items(): if not task.done(): report.failed(src, "timed out, cancelling")