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