Skip to content

Mark a dependency tree the depth limit cut off - #28

Merged
Paebbels merged 2 commits into
devfrom
claude/dependency-table-depth-marker
Oct 10, 2026
Merged

Paebbels merged 2 commits into
devfrom
claude/dependency-table-depth-marker

Conversation

@pytooling-claude

@pytooling-claude pytooling-claude Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

New Features

  • pyTooling.Sphinx.DependencyTable: a tree cut off by :depth: says so. A package whose own dependencies the limit
    cuts off gets a line below it: … 2 more dependencies not expanded. A package without dependencies, or
    one whose dependencies are all on its path already (a cycle), gets none.

Changes

  • pyTooling.Sphinx.DependencyTable: the release of a package at the depth limit is resolved in every
    :dependency-format:, also in the formats without a license, because the marker needs to know whether its tree
    goes on. That is one more level of index requests for such tables.

Documentation

  • dependency-table: the :depth: option describes the marker.
  • News: the marker is listed among v0.1.0's features.

Unit Tests

  • New testsuite Dependency trees: unlimited, cut after one and two levels (plural and singular), and a leaf and a
    cycle at the limit without a marker. The trees come from a table with a dictionary of releases instead of the
    package index.

Changes after opening

  • Rebased onto dev.
  • Review: the marker reads … 2 more dependencies not expanded (was … 2 dependencies not expanded (depth limit)).
    (2c03ab7)

Related Issues and Pull-Requests

@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 7, 2026 18:26
@pytooling-claude pytooling-claude Bot added Documentation Improvements or additions to documentation Enhancement New feature or request labels Oct 7, 2026
@codacy-production

codacy-production Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 15 complexity · 0 duplication

Metric Results
Complexity 15
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 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.90909% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.47%. Comparing base (6d19893) to head (8c31333).
⚠️ Report is 2 commits behind head on dev.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
pyTooling/Sphinx/DependencyTable.py 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #28      +/-   ##
==========================================
+ Coverage   77.02%   77.47%   +0.45%     
==========================================
  Files          19       19              
  Lines        3007     3015       +8     
  Branches      437      438       +1     
==========================================
+ Hits         2316     2336      +20     
+ Misses        610      597      -13     
- Partials       81       82       +1     
Flag Coverage Δ
unittests 77.47% <90.90%> (+0.45%) ⬆️

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.

claude-code and others added 2 commits October 10, 2026 09:30
A package whose own dependencies ':depth:' cuts off gets a line below it: '… 2 dependencies not expanded (depth
limit)'. The release of a package at the limit is resolved in every dependency format now, since whether its tree
goes on is what the marker states.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
…xpanded'

The marker below a package the depth limit cut off says how many more
dependencies it has, without '(depth limit)' (review).

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot force-pushed the claude/dependency-table-depth-marker branch from 8c31333 to 2c03ab7 Compare October 10, 2026 09:31
@Paebbels
Paebbels merged commit 1185e3e into dev Oct 10, 2026
34 of 35 checks passed
@Paebbels
Paebbels deleted the claude/dependency-table-depth-marker branch October 10, 2026 09:34
This was referenced Oct 10, 2026
This was referenced Oct 19, 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

Documentation Improvements or additions to documentation Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants