From cf2eff09d0f5319a4dc5cdce2b6356d85af4a798 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Tue, 23 Jun 2020 02:33:35 -0700 Subject: [PATCH] chore(python): fix line breaks in template and use newer black version (#643) * chore(python): fix line breaks in template * fix: also update black version --- synthtool/gcp/templates/python_library/noxfile.py.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synthtool/gcp/templates/python_library/noxfile.py.j2 b/synthtool/gcp/templates/python_library/noxfile.py.j2 index 852bc7547..a896010ed 100644 --- a/synthtool/gcp/templates/python_library/noxfile.py.j2 +++ b/synthtool/gcp/templates/python_library/noxfile.py.j2 @@ -23,7 +23,7 @@ import shutil import nox -BLACK_VERSION = "black==19.3b0" +BLACK_VERSION = "black==19.10b0" BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] DEFAULT_PYTHON_VERSION="{{ default_python_version }}" @@ -75,7 +75,7 @@ def default(session): {%- if microgenerator %} session.install("asyncmock", "pytest-asyncio") - {% endif -%} + {% endif %} session.install("mock", "pytest", "pytest-cov") session.install("-e", "."){% for dependency in unit_test_dependencies %} session.install("-e", "{{dependency}}"){% endfor %}