Skip to content

Commit 89cfeb5

Browse files
authored
Fix imports line wrapping (#5)
1 parent 9dff51b commit 89cfeb5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ITensorFormatter"
22
uuid = "b6bf39f1-c9d3-4bad-aad8-593d802f65fd"
3-
version = "0.2.3"
3+
version = "0.2.4"
44
authors = ["ITensor developers <support@itensor.org> and contributors"]
55

66
[workspace]

src/ITensorFormatter.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ function main(argv)
269269
content = organize_import_blocks_file(inputfile)
270270
write(inputfile, content)
271271
end
272-
# Pass 4: Canonicalize via Runic
272+
# Pass 4: Format via JuliaFormatter again to fix import line wrapping
273+
JuliaFormatter.format(inputfiles; JULIAFORMATTER_OPTIONS...)
274+
# Pass 5: Canonicalize via Runic
273275
Runic.main(["--inplace"; inputfiles])
274276
return 0
275277
end

0 commit comments

Comments
 (0)