wooey / clinto

This converts an assortment of python command line interfaces into a language agnostic build spec for usage in GUI creation.
BSD 3-Clause "New" or "Revised" License
17 stars 6 forks source link

Allow excluding bad imports from ast parser #44

Closed Chris7 closed 11 months ago

Chris7 commented 11 months ago

This lets us ignore a bad import, which is useful if we are running this script from a webserver and running the actual script in a virtualenv.

codecov-commenter commented 11 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (9480eb5) 57.33% compared to head (b2cef24) 58.19%.

Files Patch % Lines
clinto/ast/source_parser.py 92.85% 1 Missing and 1 partial :warning:
clinto/parsers/argparse_.py 83.33% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #44 +/- ## ========================================== + Coverage 57.33% 58.19% +0.85% ========================================== Files 13 13 Lines 872 885 +13 Branches 159 161 +2 ========================================== + Hits 500 515 +15 + Misses 345 344 -1 + Partials 27 26 -1 ``` | [Flag](https://app.codecov.io/gh/wooey/clinto/pull/44/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/wooey/clinto/pull/44/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey) | `58.19% <91.89%> (+0.96%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wooey#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.