jina-ai / jina

☁️ Build multimodal AI applications with cloud-native stack
https://docs.jina.ai
Apache License 2.0
20.63k stars 2.21k forks source link

refactor: refactor the setup.py file #6038

Closed ai-naymul closed 10 months ago

ai-naymul commented 10 months ago

In the setup.py file there are some constant text that are hardcoded into the file, in this PR those hardcode text are converted into constants for better code readability

codecov[bot] commented 10 months ago

Codecov Report

Patch coverage has no change and project coverage change: +6.62% :tada:

Comparison is base (034a7b1) 70.94% compared to head (675465d) 77.56%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6038 +/- ## ========================================== + Coverage 70.94% 77.56% +6.62% ========================================== Files 144 144 Lines 13788 13788 ========================================== + Hits 9782 10695 +913 + Misses 4006 3093 -913 ``` | [Flag](https://app.codecov.io/gh/jina-ai/jina/pull/6038/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jina-ai) | Coverage Δ | | |---|---|---| | [jina](https://app.codecov.io/gh/jina-ai/jina/pull/6038/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jina-ai) | `77.56% <ø> (+6.62%)` | :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=jina-ai#carryforward-flags-in-the-pull-request-comment) to find out more. [see 49 files with indirect coverage changes](https://app.codecov.io/gh/jina-ai/jina/pull/6038/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jina-ai)

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