Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update patch.py #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danielorbach
Copy link

@danielorbach danielorbach commented Jan 22, 2020

Hi,

The regex at protobuf_gen/patch.py::rename_protobuf_imports only replaces imports in the form of from ... import ... as ....
My protobuf-compiler generates imports in the form of import ... as ....

What do you think?

Support patching of both import forms:
- The existing `from ... import ... as ...`
- The new `import ... as ...`
@codecov
Copy link

codecov bot commented Jan 22, 2020

Codecov Report

Merging #5 into master will decrease coverage by 0.15%.
The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
- Coverage   93.51%   93.35%   -0.16%     
==========================================
  Files          12       12              
  Lines         524      527       +3     
==========================================
+ Hits          490      492       +2     
- Misses         34       35       +1
Impacted Files Coverage Δ
protobuf_gen/patch.py 91.66% <83.33%> (-1.67%) ⬇️

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 10b6d52...e6e30f7. Read the comment docs.

@danielorbach danielorbach marked this pull request as ready for review January 22, 2020 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant