Repository navigation
Rename the directive xsd-graph to xmlschema-graph - #7
Conversation
* Directive `xsd-graph` → `xmlschema-graph`, class and module `XSDSchemaGraph` → `XMLSchemaGraph`, so a later `jsonschema-graph` is named alike. * Tests and the Extension page follow. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| CodeStyle | 1 minor |
🟢 Metrics 32 complexity · 0 duplication
Metric Results Complexity 32 Duplication 0
🟢 Coverage 100.00% diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ 100.00% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (b083e6d) 1137 656 57.70% Head commit (50343d1) 1137 (+0) 656 (+0) 57.70% (+0.00%) 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 (#7) 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 #7 +/- ##
=======================================
Coverage 57.08% 57.08%
=======================================
Files 7 7
Lines 1137 1137
Branches 188 188
=======================================
Hits 649 649
Misses 481 481
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Renames the directive drawing an XML schema, as decided in the review of the documentation:
xsd-graphbecomesxmlschema-graph, so a laterjsonschema-graphis named alike.Breaking Changes
pyTooling.Sphinx:xsd-graph→xmlschema-graph.XSDSchemaGraph→XMLSchemaGraph(pyTooling.Sphinx.XMLSchemaGraph.XMLSchemaGraph).Not released yet, so nothing depends on the old names. pyTooling's own documentation (its schema pages) uses pyTooling's copy of the extension and switches to the new name when it moves to pyTooling.Sphinx.
Documentation
Unit Tests
Extension.pyexpectsxmlschema-graphamong the registered directives;SchemaGraph.pyimportsXMLSchemaGraph. 97 passed.Related Issues and Pull-Requests