GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(dev): Add Git pre-commit hooks [gapic-generator-python] by miraleung · Pull Request #908 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Conversation

@miraleung

@miraleung miraleung commented May 26, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

After copying this into .git/hooks as described in DEVELOMPENT.md, these checks (a subset of CI tasks) will run locally on each commit.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
miraleung and others added 9 commits May 21, 2021 15:30
@miraleung
feat(tests): Add integration test framework, goldens for 4 APIs
7602aed
@miraleung
fix: exclude generated sources from style checks
df63cf7
@miraleung
fix: add integration tests to CI
91f98a4
@miraleung
fix: split out integration tests
1ff6af1
@miraleung
fix: bazel install
f212c81
@miraleung
fix: Use 3.8 only for integration tests
1050c84
@miraleung
Merge branch 'master' into feat/goldens
59d5b1d
@miraleung
fix: add integration test steps to docs
0c9c1a3
@miraleung
feat(dev): Add Git pre-commit hooks
ddc6aba
@miraleung
miraleung requested a review from a team May 26, 2021 18:36
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 26, 2021
@codecov

codecov Bot commented May 26, 2021 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #908 (1024c1d) into master (7c185e8) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #908   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        27    +1     
  Lines         1608      1697   +89     
  Branches       328       347   +19     
=========================================
+ Hits          1608      1697   +89     
Impacted Files Coverage Δ
gapic/samplegen_utils/types.py 100.00% <ø> (ø)
gapic/samplegen_utils/utils.py 100.00% <ø> (ø)
gapic/utils/case.py 100.00% <ø> (ø)
gapic/utils/reserved_names.py 100.00% <ø> (ø)
gapic/generator/generator.py 100.00% <100.00%> (ø)
gapic/samplegen/samplegen.py 100.00% <100.00%> (ø)
gapic/schema/api.py 100.00% <100.00%> (ø)
gapic/schema/metadata.py 100.00% <100.00%> (ø)
gapic/schema/wrappers.py 100.00% <100.00%> (ø)
gapic/utils/__init__.py 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54033ee...1024c1d. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@miraleung miraleung mentioned this pull request May 26, 2021
feat(tests): Add integration test framework, goldens for 4 APIs [gapic-generator-python] #905
Merged
@miraleung
miraleung requested review from busunkim96 and software-dov May 26, 2021 19:08
@miraleung
fix: use unit-3.9 instead
3c897a8
Base automatically changed from feat/goldens to master May 27, 2021 19:43
@miraleung
miraleung requested a review from a team May 27, 2021 19:43
busunkim96
busunkim96 approved these changes May 27, 2021
View reviewed changes
Comment thread .githooks/pre-commit Resolved

Uh oh!

There was an error while loading. Please reload this page.

miraleung added 3 commits May 27, 2021 13:17
@miraleung
Merge branch 'master' into dev/git_setup
016d87c
@miraleung
Merge branch 'master' into dev/git_setup
294a942
@miraleung
fix: add license header to pre-commit
1024c1d
@miraleung
miraleung merged commit 298db39 into master May 27, 2021
@miraleung
miraleung deleted the dev/git_setup branch May 27, 2021 20:37
This was referenced Jan 18, 2022
chore(master): release reverted #1133
Merged
chore(master): release 0.40.0 #1138
Closed
chore(master): release 0.39.1 #1146
Closed
This was referenced Jan 26, 2022
chore(main): release 0.39.1 #1160
Closed
chore(main): release 0.39.1 #1162
Closed
chore(main): release 0.61.0 #1163
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@software-dov software-dov Awaiting requested review from software-dov
1 more reviewer
@busunkim96 busunkim96 busunkim96 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@miraleung @busunkim96
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.