This cannot be parsed again, as calling snakefmt again on this yields:
snakefmt.exceptions.InvalidParameterSyntax: 5max(
The issue is only appearing due to the long lines. Removing this, computing the needed value beforehand, and instead just having a shorter statement there, works.
This is with snakefmt v0.10.2.
Minimal example:
gets reformatted to
This cannot be parsed again, as calling snakefmt again on this yields:
The issue is only appearing due to the long lines. Removing this, computing the needed value beforehand, and instead just having a shorter statement there, works.