From d36d5832026b26eeea37f0b110cc0f88a1b729dc Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 2 Apr 2021 11:24:04 -0700 Subject: [PATCH] chore: update pycqa/flake8 dependency, rename for build cop bot (#27) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b63e18c1-077e-4c61-bb58-5a057f55da2c/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- packages/google-cloud-data-qna/.kokoro/test-samples.sh | 8 ++++---- packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh | 2 +- packages/google-cloud-data-qna/.pre-commit-config.yaml | 2 +- .../google/cloud/dataqna_v1alpha/__init__.py | 4 ++-- packages/google-cloud-data-qna/synth.metadata | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/google-cloud-data-qna/.kokoro/test-samples.sh b/packages/google-cloud-data-qna/.kokoro/test-samples.sh index cc92fb60e542..26aa10b907e2 100755 --- a/packages/google-cloud-data-qna/.kokoro/test-samples.sh +++ b/packages/google-cloud-data-qna/.kokoro/test-samples.sh @@ -87,11 +87,11 @@ for file in samples/**/requirements.txt; do python3.6 -m nox -s "$RUN_TESTS_SESSION" EXIT=$? - # If this is a periodic build, send the test log to the FlakyBot. - # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/flakybot. + # If this is a periodic build, send the test log to the Build Cop Bot. + # See https://github.com/googleapis/repo-automation-bots/tree/master/packages/buildcop. if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"periodic"* ]]; then - chmod +x $KOKORO_GFILE_DIR/linux_amd64/flakybot - $KOKORO_GFILE_DIR/linux_amd64/flakybot + chmod +x $KOKORO_GFILE_DIR/linux_amd64/buildcop + $KOKORO_GFILE_DIR/linux_amd64/buildcop fi if [[ $EXIT -ne 0 ]]; then diff --git a/packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh b/packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh index 4af6cdc26dbc..719bcd5ba84d 100755 --- a/packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh +++ b/packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh @@ -159,7 +159,7 @@ if [[ -n "${KOKORO_BUILD_ID:-}" ]]; then "KOKORO_GITHUB_COMMIT" "KOKORO_GITHUB_PULL_REQUEST_NUMBER" "KOKORO_GITHUB_PULL_REQUEST_COMMIT" - # For FlakyBot + # For Build Cop Bot "KOKORO_GITHUB_COMMIT_URL" "KOKORO_GITHUB_PULL_REQUEST_URL" ) diff --git a/packages/google-cloud-data-qna/.pre-commit-config.yaml b/packages/google-cloud-data-qna/.pre-commit-config.yaml index 335cecc23f46..6ad83346e261 100644 --- a/packages/google-cloud-data-qna/.pre-commit-config.yaml +++ b/packages/google-cloud-data-qna/.pre-commit-config.yaml @@ -12,6 +12,6 @@ repos: hooks: - id: black - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.0 + rev: 3.8.4 hooks: - id: flake8 diff --git a/packages/google-cloud-data-qna/google/cloud/dataqna_v1alpha/__init__.py b/packages/google-cloud-data-qna/google/cloud/dataqna_v1alpha/__init__.py index 9538621319bc..37d7ed334d65 100644 --- a/packages/google-cloud-data-qna/google/cloud/dataqna_v1alpha/__init__.py +++ b/packages/google-cloud-data-qna/google/cloud/dataqna_v1alpha/__init__.py @@ -43,6 +43,7 @@ __all__ = ( "AnnotatedString", + "AutoSuggestionServiceClient", "BigQueryJob", "CreateQuestionRequest", "DataQuery", @@ -57,7 +58,6 @@ "Interpretation", "InterpretationStructure", "Question", - "QuestionServiceClient", "SuggestQueriesRequest", "SuggestQueriesResponse", "Suggestion", @@ -65,5 +65,5 @@ "SuggestionType", "UpdateUserFeedbackRequest", "UserFeedback", - "AutoSuggestionServiceClient", + "QuestionServiceClient", ) diff --git a/packages/google-cloud-data-qna/synth.metadata b/packages/google-cloud-data-qna/synth.metadata index e313e7148eff..9e78616d11cb 100644 --- a/packages/google-cloud-data-qna/synth.metadata +++ b/packages/google-cloud-data-qna/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-data-qna.git", - "sha": "d090b4b19c2aa5185712c86ad189243c78420ca8" + "sha": "638df3b745ad2ae0f1edb65cb87fc5dfff8c50f1" } }, {