Skip to content

Commit 4d5ce17

Browse files
chore(python): use black==22.3.0 (#218)
Source-Link: googleapis/synthtool@6fab84a Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
1 parent 771bd11 commit 4d5ce17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

datalabeling/snippets/create_instruction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
# [START datalabeling_create_instruction_beta]
2424
def create_instruction(project_id, data_type, instruction_gcs_uri):
25-
""" Creates a data labeling PDF instruction for the given Google Cloud
25+
"""Creates a data labeling PDF instruction for the given Google Cloud
2626
project. The PDF file should be uploaded to the project in
2727
Google Cloud Storage.
2828
"""

datalabeling/snippets/noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
# WARNING - WARNING - WARNING - WARNING - WARNING
3030
# WARNING - WARNING - WARNING - WARNING - WARNING
3131

32-
BLACK_VERSION = "black==19.10b0"
32+
BLACK_VERSION = "black==22.3.0"
3333

3434
# Copy `noxfile_config.py` to your directory and modify it instead.
3535

@@ -253,7 +253,7 @@ def py(session: nox.sessions.Session) -> None:
253253

254254

255255
def _get_repo_root() -> Optional[str]:
256-
""" Returns the root folder of the project. """
256+
"""Returns the root folder of the project."""
257257
# Get root of this repository. Assume we don't have directories nested deeper than 10 items.
258258
p = Path(os.getcwd())
259259
for i in range(10):

0 commit comments

Comments
 (0)