Skip to content

Commit

Permalink
chore: update pycqa/flake8 dependency, rename for build cop bot (#27)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

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.)
  • Loading branch information
yoshi-automation authored Apr 2, 2021
1 parent c47a902 commit d36d583
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions packages/google-cloud-data-qna/.kokoro/test-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-data-qna/.kokoro/trampoline_v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-data-qna/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

__all__ = (
"AnnotatedString",
"AutoSuggestionServiceClient",
"BigQueryJob",
"CreateQuestionRequest",
"DataQuery",
Expand All @@ -57,13 +58,12 @@
"Interpretation",
"InterpretationStructure",
"Question",
"QuestionServiceClient",
"SuggestQueriesRequest",
"SuggestQueriesResponse",
"Suggestion",
"SuggestionInfo",
"SuggestionType",
"UpdateUserFeedbackRequest",
"UserFeedback",
"AutoSuggestionServiceClient",
"QuestionServiceClient",
)
2 changes: 1 addition & 1 deletion packages/google-cloud-data-qna/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/python-data-qna.git",
"sha": "d090b4b19c2aa5185712c86ad189243c78420ca8"
"sha": "638df3b745ad2ae0f1edb65cb87fc5dfff8c50f1"
}
},
{
Expand Down

0 comments on commit d36d583

Please sign in to comment.