Fix RST docstring indentation errors in documentation build#505
Conversation
Changed Files
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
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.
Agent-Logs-Url: https://github.com/cleder/fastkml/sessions/696f6819-2e18-46c5-b274-2af0a40e65f6 Co-authored-by: cleder <1218010+cleder@users.noreply.github.com>
|
Preparing review... |
1 similar comment
|
Preparing review... |
There was a problem hiding this comment.
Our agent can fix these. Install it.
Gates Passed
6 Quality Gates Passed
Quality Gate Profile: Customizable Safeguards
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #505 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 80 80
Lines 6579 6579
Branches 164 164
=========================================
Hits 6579 6579 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Three docstrings caused
ERROR: Unexpected indentationwhen building docs, because RST processed them as raw markup (Napoleon'sArgs:\n----hybrid format is unrecognized, passing through unchanged).Changes
base.py—_XMLObject.etree_element: Flattened a nested sub-bullet (For each attribute: → - Call...) into a single bullet. RST has no blank line before the deeper-indented item, triggering the error.geometry.py—create_kml_geometry: Fixedaltitude_modecontinuation line from deep alignment-indent (23 spaces) to the same 8-space level as other params. RST flagged the jump in indentation as an unexpected block.styles.py—Pair: Converted a 4-space-indented paragraph directly after<Pair> contains two elements (both are required):into a proper RST bullet list with a preceding blank line.