From 0c231b68d73410d020f9f7867b541be1ab03bb86 Mon Sep 17 00:00:00 2001 From: "Mr. Outis" Date: Wed, 4 Sep 2019 22:07:02 -0500 Subject: [PATCH] fix formatting --- dvc/remote/slow_link_detection.py | 5 +++-- tests/unit/remote/test_slow_link_detection.py | 4 +--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dvc/remote/slow_link_detection.py b/dvc/remote/slow_link_detection.py index bd47612ef..0dd2285d6 100644 --- a/dvc/remote/slow_link_detection.py +++ b/dvc/remote/slow_link_detection.py @@ -18,8 +18,9 @@ this.message = ( "See {blue}https://dvc.org/doc/commands-reference/config#cache{reset} " "for more information.\n" "To disable this message, run:\n" - "'dvc config cache.slow_link_warning false'" - .format(blue=colorama.Fore.BLUE, reset=colorama.Fore.RESET) + "'dvc config cache.slow_link_warning false'".format( + blue=colorama.Fore.BLUE, reset=colorama.Fore.RESET + ) ) diff --git a/tests/unit/remote/test_slow_link_detection.py b/tests/unit/remote/test_slow_link_detection.py index d94a79e7b..141b4ff95 100644 --- a/tests/unit/remote/test_slow_link_detection.py +++ b/tests/unit/remote/test_slow_link_detection.py @@ -8,9 +8,7 @@ from dvc.config import Config @pytest.fixture(autouse=True) def timeout_immediately(monkeypatch): - monkeypatch.setattr( - dvc.remote.slow_link_detection, 'timeout_seconds', 0.0 - ) + monkeypatch.setattr(dvc.remote.slow_link_detection, "timeout_seconds", 0.0) @pytest.fixture