Skip to content

Commit 29ef2b6

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

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

talent/job_search_commute_search.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ def search_jobs(project_id, tenant_id):
5353
# Iterate over all results
5454
results = []
5555
request = talent.SearchJobsRequest(
56-
parent=parent, request_metadata=request_metadata, job_query=job_query,
56+
parent=parent,
57+
request_metadata=request_metadata,
58+
job_query=job_query,
5759
)
5860
for response_item in client.search_jobs(request=request).matching_jobs:
5961
print(f"Job summary: {response_item.job_summary}")

talent/job_search_create_job.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919

2020

2121
def create_job(
22-
project_id, tenant_id, company_id, requisition_id, job_application_url,
22+
project_id,
23+
tenant_id,
24+
company_id,
25+
requisition_id,
26+
job_application_url,
2327
):
2428
"""Create Job"""
2529

talent/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)