Repository navigation
Messages name a class with getTypeName - #60
Conversation
'obj.__class__.__name__' is replaced by 'getTypeName(obj)' (pyTooling 10.0.0rc4, pyTooling/pyTooling#592) in the messages reporting a caught exception or warning and in the abstract 'ExternalLink._Selects'. For an instance it returns the same name. The pyTooling floor is 10.0.0rc4 already (#53). Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage 77.27% diff coverage · +0.01% coverage variation
Metric Results Coverage variation ✅ +0.01% coverage variation (-1.00%) Diff coverage ✅ 77.27% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (dc71666) 4887 4286 87.70% Head commit (e7fdc38) 4890 (+3) 4289 (+3) 87.71% (+0.01%) 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 (#60) 22 17 77.27% 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❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #60 +/- ##
=======================================
Coverage 85.41% 85.41%
=======================================
Files 24 24
Lines 4887 4890 +3
Branches 787 787
=======================================
+ Hits 4174 4177 +3
Misses 601 601
Partials 112 112
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Changes
pyTooling.Sphinx,pyTooling.Sphinx.CodeCoverage,pyTooling.Sphinx.CodeCoveragePages,pyTooling.Sphinx.DocCoverage,pyTooling.Sphinx.Unittest,pyTooling.Sphinx.UnittestPages: messages reporting a caught exception or warning name its class withgetTypeName(...)frompyTooling.Commoninstead ofobj.__class__.__name__; the texts are unchanged.pyTooling.Sphinx.ExternalLink: the abstractBaseExternalLinkTransform._Selectsnames the class withgetTypeName(self).Unit Tests
getTypeName(obj)returnsobj.__class__.__name__. 425 passed.Related Issues and Pull-Requests
getTypeName, first released in pyTooling v10.0.0-rc4, the floor since DependencyTable: requirements files are read by 'RequirementsFile.Parse' #53.