From af2b5e2c97350439401df563567c1318ccfe8f69 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 29 Mar 2022 01:02:11 +0000 Subject: [PATCH] chore(python): use black==22.3.0 (#249) Source-Link: https://github.com/googleapis/synthtool/commit/6fab84af09f2cf89a031fd8671d1def6b2931b11 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe --- compute/compute/noxfile.py | 4 ++-- compute/compute/requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compute/compute/noxfile.py b/compute/compute/noxfile.py index 85f5836dba3a..25f87a215d4c 100644 --- a/compute/compute/noxfile.py +++ b/compute/compute/noxfile.py @@ -29,7 +29,7 @@ # WARNING - WARNING - WARNING - WARNING - WARNING # WARNING - WARNING - WARNING - WARNING - WARNING -BLACK_VERSION = "black==19.10b0" +BLACK_VERSION = "black==22.3.0" # Copy `noxfile_config.py` to your directory and modify it instead. @@ -253,7 +253,7 @@ def py(session: nox.sessions.Session) -> None: def _get_repo_root() -> Optional[str]: - """ Returns the root folder of the project. """ + """Returns the root folder of the project.""" # Get root of this repository. Assume we don't have directories nested deeper than 10 items. p = Path(os.getcwd()) for i in range(10): diff --git a/compute/compute/requirements.txt b/compute/compute/requirements.txt index c0be0f7c63ca..a6a43c7f8284 100644 --- a/compute/compute/requirements.txt +++ b/compute/compute/requirements.txt @@ -1,3 +1,3 @@ isort==5.10.1 -black==22.1.0 -google-cloud-compute==1.1.0 \ No newline at end of file +black==22.3.0 +google-cloud-compute==1.1.0