Skip to content

Commit

Permalink
chore(python): use black==22.3.0 (#229)
Browse files Browse the repository at this point in the history
Source-Link: googleapis/synthtool@6fab84a
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:7cffbc10910c3ab1b852c05114a08d374c195a81cdec1d4a67a1d129331d0bfe
  • Loading branch information
gcf-owl-bot[bot] authored and dandhlee committed Nov 14, 2022
1 parent 3da28e0 commit 24dfefb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion talent/job_search_commute_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def search_jobs(project_id, tenant_id):
# Iterate over all results
results = []
request = talent.SearchJobsRequest(
parent=parent, request_metadata=request_metadata, job_query=job_query,
parent=parent,
request_metadata=request_metadata,
job_query=job_query,
)
for response_item in client.search_jobs(request=request).matching_jobs:
print(f"Job summary: {response_item.job_summary}")
Expand Down
6 changes: 5 additions & 1 deletion talent/job_search_create_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@


def create_job(
project_id, tenant_id, company_id, requisition_id, job_application_url,
project_id,
tenant_id,
company_id,
requisition_id,
job_application_url,
):
"""Create Job"""

Expand Down
4 changes: 2 additions & 2 deletions talent/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 24dfefb

Please sign in to comment.