Commit 5e54350
docs: Fix docstring accuracy and improve code documentation
Self-review findings and fixes:
1. Fix validate_frozen_rows docstring accuracy
- Corrected is_valid description: only False when exceeds limit
- Clarified validated_frozen_rows behavior for negative values
- Implementation and documentation now match
2. Improve expand_axis_range documentation
- Add concrete examples first for better understanding
- Add Args and Returns sections
- Replace abstract description with clear examples
Quality metrics maintained:
- All 220 tests pass
- Coverage: 81-100% (helper classes)
- Type check, lint, format: all pass
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent ea5ceeb commit 5e54350
2 files changed
Lines changed: 15 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
0 commit comments