Closed johanneskoester closed 9 months ago
This isn't precisely a snakefmt problem. I relates to #207 and python the way in which python 3.12 tokenizes f-strings (this is formatted correctly in python 3.10).
Nevertheless, it is a bug. I'll try and get on to it ASAP. I started a discussion in the development channel on the snakemake discord about the future of dealing with bugs etc in this repo and it would be good to have your input @johanneskoester
Somebody who can probably give valuable input here could be @Hocnonsense who fixed f-string handling for Python 3.12 in Snakemake itself.
The following:
get incorrectly reformatted to
(double curly braces are removed) This is a pretty severe bug as it alters the logic of the code and leads to unexpected errors.