Repository navigation
Commit efac952
201 test failures (#202)
* clarifying missing reset of test directory in documentation
* temporarily undo problematic change to detect misaligned lines
* Tests: make tests for non-whitespace changes less strict (ignore new line characters)
* clarify how to disable auto line break
* Tests: ignore inserted ampersands
* update test results
* adding unit test expected to fail due to removed statement label
* Preserve statement labels during auto line-splitting (#1)
When write_formatted_line splits a long line (via _insert_split_chunks
or _detach_inline_comment), the statement label was consumed but never
restored for the replacement lines. This caused labels like "1003" to
be silently dropped from FORMAT statements that exceeded the line length
limit.
Three issues addressed in write_formatted_line:
- Restore the label after split/detach so it appears on the first chunk
- In the overflow fallback path, prepend the label when orig_line lacks it
- When detaching an inline comment from a labeled line, compensate the
comment's indent for the label-replacement space inflation
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* updating test results
* formatting
* fix: make auto line-splitting idempotent (#2)
* clarifications regarding integration test setup
* add newest python versions
* minor readme fixes
---------
Co-authored-by: Andreas Zach <80193776+zandivx@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Stig Helgeland <stig@pions.no>1 parent b5df13b commit efac952
6 files changed
Lines changed: 130 additions & 57 deletions
File tree
- .github/workflows
- fortran_tests/test_results
- fprettify
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
224 | 240 | | |
225 | 241 | | |
226 | 242 | | |
| |||
243 | 259 | | |
244 | 260 | | |
245 | 261 | | |
246 | | - | |
| 262 | + | |
247 | 263 | | |
248 | 264 | | |
249 | 265 | | |
250 | 266 | | |
251 | 267 | | |
252 | 268 | | |
253 | 269 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
264 | 282 | | |
265 | | - | |
266 | | - | |
| 283 | + | |
| 284 | + | |
267 | 285 | | |
268 | 286 | | |
269 | 287 | | |
| |||
0 commit comments