Repository navigation
Conversation
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
2 f-strings had no placeholder, so their 'f' prefix did nothing; 'f"…"' becomes '"…"', escaped braces '{{'/'}}'
become '{'/'}'. Every string keeps its value. Fixed with CheckNeedlessFStrings (pyflakes F541).
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage 28.57% diff coverage · +0.26% coverage variation
Metric Results Coverage variation ✅ +0.26% coverage variation (-1.00%) Diff coverage ✅ 28.57% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (dd8f308) 4882 4269 87.44% Head commit (424e34d) 4887 (+5) 4286 (+17) 87.70% (+0.26%) 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 (#55) 7 2 28.57% 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 @@
## main #55 +/- ##
==========================================
+ Coverage 85.12% 85.41% +0.28%
==========================================
Files 24 24
Lines 4882 4887 +5
Branches 786 787 +1
==========================================
+ Hits 4156 4174 +18
+ Misses 613 601 -12
+ Partials 113 112 -1
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:
|
…dist workers. pyTooling/Actions@r9 runs the unit tests serially while '[tool.coverage.run]' lacks 'patch = ["subprocess"]', as Coverage.py would not measure the pytest-xdist workers. As in pyTooling, the setting is added; the workflow combines the workers' data files. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
….0.0rc3 and rc4 answer.
pyTooling #595 (planned for rc4) makes Stopwatch.Duration/Activity/Inactivity a timedelta. pyTooling's own
documentation build installs this package from PyPI and failed on it: f"{stopwatch.Duration:.2f}" and
DependencyCollector.Seconds (Stopwatch.Activity, formatted with :.2f) raise a TypeError with a timedelta.
- The table's log line uses DurationInNanoseconds / 1e9 (exists since rc2).
- DependencyCollector.Seconds converts Activity with total_seconds() when it's a timedelta.
- Both marked '# WORKAROUND: pyTooling <10.0.0rc4' with the final form (DurationInSeconds, ActivityInSeconds) as a
comment below, to replace once the floor is >= 10.0.0rc4.
Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
Note
The fourth release candidate of v0.1.0. The first three, v0.1.0-rc1, v0.1.0-rc2 and v0.1.0-rc3, were released from #1, #48 and #49; these notes describe the whole first release, as theirs did. It requires pyTooling v10.0.0-rc2 or later and, for the extra
reports, pyEDAA.Reports v0.20.0-rc1 or later - both pre-releases on PyPI.New in rc4: f-strings without placeholder are plain strings (#56), the unit tests run with pytest-xdist workers under Coverage.py (#57),
dependency-tableworks with pyTooling rc3 and rc4 (#58), and the version0.1.0rc4(34cf071). Changes merged after rc3 are listed here and in their sections.Important
v0.1.0-rc1 is a GitHub release only: its upload to PyPI failed, because the repository had no
dist/requirements.txt, which the release job installs from (#46). rc2 was the first pre-release of pyTooling.Sphinx on PyPI.First release of pyTooling.Sphinx: the Sphinx extension of the pyTooling family as a package of its own, with its repository infrastructure and pipeline. It was developed in pyTooling's
devbranch and moved here before any pyTooling release contained it; the domainreportcomes from sphinx-reports v0.11.2.New Features
The Sphinx extension moved from pyTooling's
pyTooling.Documentation.Sphinx(#2), code unchanged apart from import paths; everything else is new in this repository. Grouped by module of the namespace packagepyTooling.Sphinx:pyTooling.Sphinx(the extension'ssetup()and shared code):BaseDirective,SphinxExtensionError,strip(),stripAndNormalize()andextendProlog(), which appends the substitutions torst_prolog(Transfer the Sphinx extension from pyTooling #2).setup()installs the static files ofpyTooling.Sphinx.Resources(installStaticFiles(), unicode-table: icons with their Unicode names, code points and copy buttons #34) and, for LaTeX, the packagepyTooling.Sphinx.sty(installLaTeXPackage(), GitHub-flavoured Markdown converted into docutils nodes #38); it loadssphinx.ext.graphvizandsphinx.ext.imgconverter(GitHub-flavoured Markdown converted into docutils nodes #38).report, transferred from sphinx-reports v0.11.2 (Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20):ReportDomain,ReportExtensionError,ReportsPackageMissingError,LegendStyle; configuration values renamed topyTooling_Unittest_Testsuites,pyTooling_CodeCoverage_Packages,pyTooling_CodeCoverage_Levels,pyTooling_DocCoverage_Packages,pyTooling_DocCoverage_Levels. The new extrareportsinstallspyEDAA.Reports; it is imported only when a report is read, and its absence is reported with an install hint. Fixes the legends'NameErrorin stylehorizontal-tableand the empty message of an invalidlevels.reportserves any role referring to objects of reports with pages (Share the page machinery of the unit test reports with other reports #25):ReportEntry,ReportRole,REPORT_ROLES,AddEntry()/FindEntries(); it takes part in a parallel build (sphinx-build -j N):ReportDomain.merge_domaindata(Let the report domain take part in a parallel build #24).NODES, as sphinx-reports registersLandscape(Draw a hierarchy as a tree with the 'tree' directive #18).setLaTeXDefaults()(LaTeX defaults: table style 'booktabs' and a list depth of 10 #43): setslatex_table_style = ["booktabs"](Sphinx' default addscolorrows, which stops a PDF build with MiKTeX in the first table) andlatex_elements["maxlistdepth"] = "10"(atreedeeper than LaTeX' 4 list levels), unlessconf.pyor-Dsets them.pyTooling.Sphinx.Abbreviation(List abbreviations with the 'abbreviations' directive, and refer to them like LaTeX' acro #19): directiveabbreviationsand roles:acs:,:acl:,:acf:and their plurals, named as in LaTeX'acro- a list of abbreviations with long form, plurals and an optional description; a role writes the form it names and links to the list. In HTML, a short form shows its long form - optionally the description's summary (pyTooling_Abbreviation_ShowSummary) - in a box on hover. The list is sorted alphabetically unless:ordered: no. Domainabbreviationcollects the lists of all documents.pyTooling.Sphinx.CodeCoverage: directivesreport:code-coverageandreport:code-coverage-legend(Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20).report:code-coveragereads Cobertura XML or coverage.py's JSON through pyEDAA.Reports' format models;report:file-coveragereplaces the prototypereport:module-coverage(Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26). A package'slevelsmay be a palette of its own, a dictionary checked like the palettes inpyTooling_CodeCoverage_Levels(Coverage levels declared as a dictionary per package #42).pyTooling.Sphinx.CodeCoveragePages(Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26): a report declared withpagesandsourcesgets a page per directory (coverage, tables of its directories and files) and per file (coverage, missed lines, and the source as a listing highlighted by Pygments, each line marked covered, partial, uncovered or excluded, in HTML and LaTeX); the role:cov:links a file or directory page.pyTooling.Sphinx.CondensedClass: directivecondensed-class(CondensedClass, Transfer the Sphinx extension from pyTooling #2).pyTooling.Sphinx.CondensedSource(Documentation coverage: a page per package and module, with a condensed listing #35): the condensed listing of a source file for the documentation coverage pages, each declaration marked by its documentation state - also fields, module variables, protected and private names, and assignments insideif/try(Documentation coverage on pyEDAA.Reports' language-neutral model #39).pyTooling.Sphinx.DependencyTable: directivedependency-table(DependencyTable, Transfer the Sphinx extension from pyTooling #2).DependencyCollector.UnresolvedLicensesis keyed by the canonical package name, so a package whose license needs an override is reported once, under the key the override file is looked up by (Report a package needing a license override once, by its canonical name #15).:depth:says so (Mark a dependency tree the depth limit cut off #28): a package whose own dependencies the limit cuts off gets a line … N more dependencies not expanded.-r, and every warning of a release's details other than an unknown license are reported as Sphinx warnings with entrypoint, file and line (Report broken requirements in dependency tables as Sphinx warnings #31).UnsupportedVersionWarningfor a release version it can't parse, are collected and reported as Sphinx warnings[dependency-table](DependencyTable: warnings from loading a project are reported, not raised #52).Stopwatch.DurationInNanoseconds, andDependencyCollector.Secondsaccepts atimedeltaas well as a float, as pyTooling rc4 makesStopwatch.Durationatimedelta(DependencyTable: read stopwatch durations as float or timedelta #58).pyTooling.Sphinx.DocCoverage: directivesreport:doc-coverageandreport:doc-coverage-legend(Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20).pagesgets a page per package and module with a condensed listing of the source; role:doccov:;DocCoverageReportPages(Documentation coverage on pyEDAA.Reports' language-neutral model #39).levelsmay be a palette of its own, checked like the palettes inpyTooling_DocCoverage_Levels(Coverage levels declared as a dictionary per package #42).pyTooling.Sphinx.ExternalLink(External link icons #36): an icon behind each external link in HTML, chosen by its host - GitHub, GitLab, Python (also PyPI), NumPy, PyPy, pytest, Pydantic, Read the Docs, Sphinx -, an envelope for an e-mail address, a square with an arrow otherwise; a:download:link gets a download icon, an archive (.zip,.tar.gz,.tar.zst, …) a zipper icon. Links open in a new tab; download links show their size, other sites' files only from an allow-list (pyTooling_ExternalLink_*); sphinx_rtd_theme's own download glyph is hidden.pyTooling.Sphinx.GitHubMarkdownandpyTooling.Sphinx.Markdown(GitHub-flavoured Markdown converted into docutils nodes #38): GitHub-flavoured Markdown converted into docutils nodes -GitHubMarkdown(owner, repository, ...)with markdown-it-py and the GFM plugin: headings as topics, GitHub alerts as admonitions, task lists, tables, footnotes, raw HTML converted (never passed through), every line break a break as in release notes; GitHub references (#123,owner/repo#123,@user, commit hashes) linked byParse; emoji shortcodes and characters asEmojinodes from github/gemoji's table (MIT); shields.io badges fetched as PNG in LaTeX, other SVG images converted bysphinx.ext.imgconverter(ImageMagick).pyTooling.Sphinx.Node,pyTooling.Sphinx.HTML,pyTooling.Sphinx.LaTeX: node classes (RegisteredNode,visitFunc,departFunc) and their visitors per output format (Draw a hierarchy as a tree with the 'tree' directive #18).Landscape(LaTeXlandscapeenvironment, Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20); the tree's nodes (Draw a hierarchy as a tree with the 'tree' directive #18, tree: descriptions in a second column #29, tree: a legend explaining the icons #32);CopyButton(unicode-table: icons with their Unicode names, code points and copy buttons #34);CoverageListing(Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26),DocCoverageListing(Documentation coverage: a page per package and module, with a condensed listing #35);Emoji,TaskListCheckbox,LineBreak(GitHub-flavoured Markdown converted into docutils nodes #38).ReportIndentation(Report tables indent a name by markup instead of em quads #45): a report table indents a name by markup - in HTML a padding of--pyTooling-report-indentationper step (CSS custom property, default1em), in LaTeX\pyToolingReportIndentation, which sets\leftskipby\pyToolingReportIndentationStepper step; a wrapped name stays at its indentation. The em quads before a name (sphinx-reports' indentation) were a line-break opportunity, so a deep name wrapped below its indentation in a narrow column, and they were copied with the name.pyTooling.Sphinx.Pages(Share the page machinery of the unit test reports with other reports #25):ReportPages, the page machinery shared by every report kind - document names, registration, generation, navigation,HasPages()/GetPages(),CreateReference().pyTooling.Sphinx.Resources: the stylesheetpyTooling.css(Transfer the Sphinx extension from pyTooling #2), the scriptpyTooling.jsof the copy buttons (unicode-table: icons with their Unicode names, code points and copy buttons #34), the LaTeX packagepyTooling.Sphinx.styfor:strike:/:underline:and the report indentation (GitHub-flavoured Markdown converted into docutils nodes #38, Report tables indent a name by markup instead of em quads #45), GitHub's emoji tableGitHubEmoji.txt(GitHub-flavoured Markdown converted into docutils nodes #38).pyTooling.Sphinx.Roles: the style and break roles (Transfer the Sphinx extension from pyTooling #2).pyTooling.Sphinx.SchemaGraphandpyTooling.Sphinx.XMLSchemaGraph: directivexmlschema-graph(XMLSchemaGraph, on the language-neutralSchemaGraph, Rename the directive xsd-graph to xmlschema-graph #7; option:package:draws a package's resource file, Draw a schema shipped in a package with 'xmlschema-graph' #23).DotGraphis apyTooling.Graph.GraphViz.Graphwith the shared look,AddRecord()andGetOrAddNode()(Build the schema graph on pyTooling.Graph.GraphViz #4).pyTooling.Sphinx.Shields: directiveshields(Shields, Transfer the Sphinx extension from pyTooling #2, Escape '-' and '_' in the 'github' badge #22).pyTooling.Sphinx.Tree: directivetree(Tree, Draw a hierarchy as a tree with the 'tree' directive #18) - a hierarchy written as an indented list, drawn as a tree. An entry's text is inline ReST, so roles link; markers choose an icon per entry (-by kind: root, node, leaf; more declared by:icons:);:expanded-levels:sets what is expanded initially. HTML draws each entry with children as a foldable<details>element, and the stylesheet draws the lines; other builders write a nested bullet list. An entry may have a description behind|, drawn as a second, aligned column (tree: descriptions in a second column #29). Legend (tree: a legend explaining the icons #32): an icon option takes a text behind|;:legend:(LegendPosition:top,bottom- default -,hidden) draws a legend of the icons above or below the tree; formats drawing no icons get none (RemoveTreeLegends).pyTooling.Sphinx.UnicodeTable(unicode-table: icons with their Unicode names, code points and copy buttons #34): directiveunicode-table- icons with their Unicode names and code points, each with a copy button in HTML;CodePointandCodePointType; LaTeX writes the table without the icons' column (RemoveUnicodeGlyphs).pyTooling.Sphinx.Unittest: directivereport:unittest-summary(Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20). Reports in pyTooling's XML format (<TestReport>) are read besides JUnit XML (Pages per testsuite and testcase, and the roles ':tc:' and ':ts:' #21).pyTooling.Sphinx.UnittestPages(Pages per testsuite and testcase, and the roles ':tc:' and ':ts:' #21): a unit test report declared withpagesgets a page per testsuite and testcase, generated without source files: status, counts, duration, the message and details of a failure, the captured standard output and standard error, and a pyTooling report's title, summary and description. The summary table links to them, and they are in the navigation below the summary's document.UnittestReportPagesderives fromReportPages(Share the page machinery of the unit test reports with other reports #25). Roles:tc:and:ts:(also:report:tc:,:report:ts:) refer to a testcase or testsuite by qualified name, a unique suffix of it, and an optional report ID.pyTooling.Sphinx.Workaround:FixLatexTableWidths, so LaTeX keeps the column widths a report table states (Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20).setup.py,pyproject.toml) as for pyEDAA.Reports, a namespace package next to pyTooling: Python 3.12 to 3.15 (Sphinx 9.1 requires Python 3.12; Python 3.15 and pyTooling/Actions@r9 #40), development status alpha, requirementspyTooling[pypi] >= 10.0.0rc2, < 11.0,sphinx >= 9.1,xmlschema ~= 4.3; extrareports:pyEDAA.Reports ~= 0.20.0rc1; extramarkdown:markdown-it-py ~= 4.2,mdit-py-plugins ~= 0.6(GitHub-flavoured Markdown converted into docutils nodes #38) (all from PyPI; Requirements from PyPI for the v0.1.0rc1 release #37, Documentation coverage on pyEDAA.Reports' language-neutral model #39). The wheel has nopyTooling/__init__.py, so thepyToolingnamespace stays open for pyTooling and its sibling distributions.pyTooling/Sphinx/__init__.py:__version__ = "0.1.0rc4", author, copyright, license, keywords and project URLs.Breaking Changes
Warning
Migrating from sphinx-reports v0.11.2: pyTooling.Sphinx takes over its domain
report(#20). These items break a documentation set up for sphinx-reports; a project new to pyTooling.Sphinx isn't affected.pip install sphinx-reports→pip install pyTooling.Sphinx[reports];extensions = ["sphinx_reports"]→extensions = ["pyTooling.Sphinx"].conf.py:report_unittest_testsuites→pyTooling_Unittest_Testsuites,report_codecov_packages→pyTooling_CodeCoverage_Packages,report_codecov_levels→pyTooling_CodeCoverage_Levels,report_doccov_packages→pyTooling_DocCoverage_Packages,report_doccov_levels→pyTooling_DocCoverage_Levels(Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20).report:module-coverage→report:file-coverage(Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26).report:dependency-tableis removed; the directivedependency-table(Transfer the Sphinx extension from pyTooling #2) renders an entrypoint's requirements, configured inconf.py.Documentation
reportsandmarkdownare rendered bydependency-tablefrom the package index; the sentence above each table says what its packages are used for. The tables show the extras of the latest release on PyPI.NOTICE.md(NOTICE.md: content of other projects and their licenses #41): content of other projects with source and license - GitHub's emoji table from github/gemoji (MIT) in the package, release notes of GHDL, OSVVM and pyTooling as test data; the README's License section links it, anddoc/Dependency.rstlists the bundled data under the extramarkdownand the test data under the test dependencies (rubric Test Data). Dependency page: the extramarkdownand image conversion with ImageMagick (GitHub-flavoured Markdown converted into docutils nodes #38).levelsas a dictionary (Coverage levels declared as a dictionary per package #42).doc/(Restructure the documentation #8): a landing page with the badges (including Codacy's), the Python 3.12 requirement, the setup inconf.py, an overview of the roles and directives, contributors and license; News, Installation, Dependencies (rendered withdependency-table), Competing Solutions (Move the competing solutions to a page of their own #9); a page per role group and per directive (jsonschema-graphas planned); the class reference and the reports of unit tests, code and documentation coverage and static type checking; Glossary and TODOs. The documentation uses its own roles and directives.FEATURES, as in pyTooling.GitHub and pyEDAA.CLITool (Label the roles and directives 'FEATURES' #12).--pyTooling-report-indentationand\pyToolingReportIndentationStep(Report tables indent a name by markup instead of em quads #45).attentionbox, and the reader-facing items of these notes.ghactions(Name pyTooling.GitHub's Sphinx domain 'ghactions' #13).ghrole (Link GitHub repositories with the 'gh' role #17).treedirective, with examples, the content rules, the options and the CSS custom properties (Draw a hierarchy as a tree with the 'tree' directive #18); descriptions, with the code coverage data model as example (tree: descriptions in a second column #29).abbreviationsdirective and its roles, with rendered examples, the configuration value and the CSS custom properties (List abbreviations with the 'abbreviations' directive, and refer to them like LaTeX' acro #19).:tc:/:ts:, with a JUnit and a pyTooling example report rendered with pages; the navigation has no depth limit (Pages per testsuite and testcase, and the roles ':tc:' and ':ts:' #21).sourcesandpages, the listing's states, the role,report:file-coverage, examples rendered from coverage.py and VHDL fixtures; the documentation's own code coverage report gets pages (Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26).dependency-table: the:depth:option describes the marker (Mark a dependency tree the depth limit cut off #28).treelegend (tree: a legend explaining the icons #32), theunicode-tabledirective with the icons a tree commonly uses (unicode-table: icons with their Unicode names, code points and copy buttons #34), the documentation coverage pages (Documentation coverage: a page per package and module, with a condensed listing #35) and the external link icons (External link icons #36); the documentation uses all of them, intersphinx links included.doc/Dependency.PackageOverrides.yaml: docutils isBSD-2-Clause AND BSD-3-Clause; the eLyXer-derived files were relicensed as BSD-2-Clause (Correct docutils' license in the override file #16).run.ps1(from pyTooling; builds the documentation withsphinx.cmd.builddirectly, so there is nodoc/make.bat).README.mdfollows the landing page - summary, requirements, setup, roles and directives, consumers (Align the README with the landing page #11) - with the Codacy badges;LICENSE.md(Apache 2.0).Unit Tests
tests/unit/Extension.py: smoke tests of the metadata, the roles, directives and nodessetup()registers, the substitutions, the style roles and the stylesheet;treebuilt as HTML and LaTeX (Draw a hierarchy as a tree with the 'tree' directive #18).tests/unit/Tree.py: thetreedirective's content parser and icon options (Draw a hierarchy as a tree with the 'tree' directive #18), and its descriptions (tree: descriptions in a second column #29).tests/unit/Abbreviation.pyandtests/unit/Extension.py: the abbreviation forms, the domain, and built lists and roles in HTML and LaTeX (List abbreviations with the 'abbreviations' directive, and refer to them like LaTeX' acro #19).tests/unit/CodeCoverage.py,Unittest.py,Reports.py: the configuration checks, and builds in HTML and LaTeX, also withoutpyEDAA.Reportsinstalled (Transfer the 'report' domain from sphinx-reports into pyTooling.Sphinx #20).tests/unit/UnittestPages.py: the generated pages, the navigation, the roles, the domain data and a LaTeX build (Pages per testsuite and testcase, and the roles ':tc:' and ':ts:' #21).tests/unit/CodeCoveragePages.py: document names, compacted directories, file and directory pages, navigation, LaTeX and the role:cov:; fixtures intests/data/CodeCoverage/(Code coverage pages per directory and source file, with a highlighted listing and the role ':cov:' #26).tests/unit/SchemaGraph.py: the schema graph and thexmlschema-graphrendering (Build the schema graph on pyTooling.Graph.GraphViz #4).tests/unit/DependencyTable.pyandtests/unit/Shields.py: pyTooling's testcases ofDependencyTableandShields, moved (Move pyTooling's testcases of DependencyTable and Shields #5).@testsuite/@testcase, with a title and a doc-string of what and how it checks (Mark the testcases with @testsuite and @testcase #6).tests/unit/DependencyTable.py: broken requirement lines and warnings of a release's details (Report broken requirements in dependency tables as Sphinx warnings #31); warnings from loading a project (DependencyTable: warnings from loading a project are reported, not raised #52).tests/unit/Tree.py: the legend (tree: a legend explaining the icons #32);tests/unit/UnicodeTable.py: content, names, code points (unicode-table: icons with their Unicode names, code points and copy buttons #34);tests/unit/DocCoverage.py(Documentation coverage: a page per package and module, with a condensed listing #35, Documentation coverage on pyEDAA.Reports' language-neutral model #39: the new model, documentation states, unreadable files,if/tryassignments);tests/unit/ExternalLink.pyandtests/unit/Download.py: link marking, icons, new tab, download sizes with a local HTTP server (External link icons #36).tests/unit/Extension.py: the LaTeX defaults, set inconf.pyand on the command line (LaTeX defaults: table style 'booktabs' and a list depth of 10 #43);tests/unit/CodeCoverage.py,tests/unit/DocCoverage.py:levelsas a dictionary (Coverage levels declared as a dictionary per package #42).tests/unit/Shields.py: the escapedgithubbadge (Escape '-' and '_' in the 'github' badge #22);tests/unit/Extension.py: a parallel build with two processes (Let the report domain take part in a parallel build #24);tests/unit/Reports.py: indented names in HTML and LaTeX (Report tables indent a name by markup instead of em quads #45).tests/unit/requirements.txt:pytest-xdist ~= 3.8; pyTooling/Actions@r9 runs the unit tests with pytest-xdist workers, as[tool.coverage.run]setspatch = ["subprocess"], so Coverage.py measures the workers (pytest-xdist for the unit tests #47, Coverage.py follows subprocesses: unit tests with pytest-xdist workers #57). A parallel Sphinx build ignores Python's warning aboutfork()in a multi-threaded process, as a pytest-xdist worker is one;pyproject.tomlturned it into an error (pytest-xdist for the unit tests #47).GitHub Pipeline
Pipeline.ymlonCompletePipeline.yml@r9(Add the pipeline #3, Python 3.15 and pyTooling/Actions@r9 #40): Python 3.12 to 3.15 on Linux, macOS and Windows, packaging, installation, documentation, static type check, Bandit, test reports, coverage to Codecov and Codacy, GitHub Pages.coverage_html: 'false': coverage.py's HTML report doesn't overwrite the documentation's own code coverage pages belowcoverage/on GitHub Pages (Python 3.15 and pyTooling/Actions@r9 #40).dist/requirements.txt(wheel,twine): the PyPI release job installs it from the package artifact (dist/requirements.txt for the PyPI release job #46).Known Issues
pylintis off (~550 messages on code pyTooling never ran pylint on).Others
f"…"became"…"(2 strings indoc/conf.py); every string keeps its value (f-strings without placeholder are plain strings #56).Related Issues and Pull-Requests
pyTooling.Graph.GraphViz.DependencyTableandShields.@testsuiteand@testcase.xsd-graphrenamed toxmlschema-graph.FEATURES.ghactions(with Rename the Sphinx domain 'gha' to 'ghactions' pyTooling.GitHub#11).ContainsNode(after Name membership tests 'Contains***' pyTooling#484).ghrole (with Link GitHub repositories, issues and runs with the 'gh' role pyTooling.GitHub#13).treedirective.abbreviationsdirective and its roles.reportof sphinx-reports.:tc:and:ts:.githubbadge escapes-and_of organization and repository.xmlschema-graphdraws a schema shipped in a package (:package:).reporttakes part in a parallel build (merge_domaindata).tree: descriptions in a second column.:cov:.tree: a legend explaining the icons.unicode-tabledirective.treeentry alias without type arguments.dependency-tablereads stopwatch durations as float or timedelta.pyTooling.GitHubandpyTooling.Sphinx.Planned for this release, not merged yet:
DependencyTablereads requirements files withRequirementsFile.Parse; ready once pyTooling v10.0.0-rc4 (Dependency: 'RequirementsFile.Parse' reads a requirements file pyTooling#585) is on PyPI.