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