Skip to content

refactor: Graph and Vertex are the names of the common base classes - #46

Merged
petercorke merged 1 commit into
mainfrom
refactor/graph-vertex-names
Oct 12, 2026
Merged

petercorke merged 1 commit into
mainfrom
refactor/graph-vertex-names

Conversation

@petercorke

Copy link
Copy Markdown
Owner

Summary

BaseGraph and BaseVertex become Graph and Vertex. Both names were introduced after 0.6.5 and never released, so there are no aliases.

This is the mechanical first half of making Vertex the one vertex class (the structural change follows in a second PR, stacked on this): the names say what the classes are, rather than that they are bases of something.

Mechanical

Every change is a whole-word replacement of BaseGraph / BaseVertex (396 replacements in 18 files: source, tests, docs, README). The full suite, mypy and pyflakes are unchanged (432 tests).

🤖 Generated with Claude Code

BaseGraph and BaseVertex become Graph and Vertex.  Both names were
introduced after 0.6.5 and never released, so there are no aliases.  This is
the mechanical half of making Vertex the one vertex class: the names say what
the classes are, rather than that they are bases of something.

Mechanical: every change is a whole-word replacement of BaseGraph or
BaseVertex, and the full suite, mypy and pyflakes are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

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 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.79%. Comparing base (4f72b64) to head (c0515a4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #46   +/-   ##
=======================================
  Coverage   94.79%   94.79%           
=======================================
  Files           3        3           
  Lines        1249     1249           
=======================================
  Hits         1184     1184           
  Misses         65       65           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@petercorke
petercorke merged commit c57db9a into main Oct 12, 2026
14 checks passed
@petercorke
petercorke deleted the refactor/graph-vertex-names branch October 12, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant