Skip to content

Rename the directive xsd-graph to xmlschema-graph - #7

Merged
Paebbels merged 1 commit into
devfrom
claude/xmlschema-graph
Oct 3, 2026
Merged

Paebbels merged 1 commit into
devfrom
claude/xmlschema-graph

Conversation

@pytooling-claude

Copy link
Copy Markdown

Renames the directive drawing an XML schema, as decided in the review of the documentation: xsd-graph becomes xmlschema-graph, so a later jsonschema-graph is named alike.

Breaking Changes

  • pyTooling.Sphinx:

    • Directive xsd-graph → xmlschema-graph.
    • Class and module 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

  • Extension page: the section, the example and the directive's reference use the new name.

Unit Tests

  • Extension.py expects xmlschema-graph among the registered directives; SchemaGraph.py imports XMLSchemaGraph. 97 passed.

Related Issues and Pull-Requests

  • The documentation restructuring follows in a pull-request stacked on this one.

* 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>
@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 3, 2026 22:40
@pytooling-claude pytooling-claude Bot added the Enhancement New feature or request label Oct 3, 2026
@codacy-production

codacy-production Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 minor

Alerts:
⚠ 1 issue (≤ 0 issues of at least minor severity)

Results:
1 new issue

Category Results
CodeStyle 1 minor

View in Codacy

🟢 Metrics 32 complexity · 0 duplication

Metric Results
Complexity 32
Duplication 0

View in Codacy

🟢 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

View coverage diff in Codacy

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

codecov Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.08%. Comparing base (b083e6d) to head (50343d1).
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ
unittests 57.08% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@Paebbels
Paebbels merged commit 14e0729 into dev Oct 3, 2026
52 of 53 checks passed
@Paebbels
Paebbels deleted the claude/xmlschema-graph branch October 3, 2026 22:47
This was referenced Oct 3, 2026
This was referenced Oct 17, 2026
@pytooling-claude pytooling-claude Bot mentioned this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants