Repository navigation
Escape '-' and '_' in the 'github' badge - #22
Conversation
shields.io reads a single '-' in a static badge as the separator of label, message and color, and '_' as a space, so 'edaa-org/pyEDAA.Reports' drew the label 'edaa' and the message 'org'. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage 100.00% diff coverage · +0.05% coverage variation
Metric Results Coverage variation ✅ +0.05% coverage variation (-1.00%) Diff coverage ✅ 100.00% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (b19ac51) 1311 845 64.45% Head commit (de16ada) 1313 (+2) 847 (+2) 64.51% (+0.05%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#22) 4 4 100.00% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## dev #22 +/- ##
==========================================
+ Coverage 63.61% 63.67% +0.05%
==========================================
Files 10 10
Lines 1311 1313 +2
Branches 220 220
==========================================
+ Hits 834 836 +2
Misses 466 466
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Bug Fixes
pyTooling.Sphinx.Shields: the badgegithubis a static badge,badge/<organization>-<repository>-<color>, whose fields shields.io separates at-and in which it reads_as a space. An organization or repository containing either was drawn wrongly -edaa-org/pyEDAA.Reportsas label edaa, message org. Both are escaped now (--,__), with the escapingsrc-licenseanddoc-licensealready use; the badge's link keeps the names as written.Unit Tests
tests/unit/Shields.py:GitHub_Escapedformats the badge ofedaa-org/my_repoand checks the image URL and the link.Related Issues and Pull-Requests
shieldsto pyEDAA.Reports' documentation (edaa-org/pyEDAA.Reports, organizationedaa-org).