flatpak-external-data-checker icon indicating copy to clipboard operation
flatpak-external-data-checker copied to clipboard

Broken YAML formatting in automatically generated PRs

Open NayamAmarshe opened this issue 3 months ago • 1 comments

Every time the external data checker creates a PR, it wrongly formats the YAML file, which causes the build to fail.

- --set-key=Categories --set-value="ImageProcessing;RasterGraphics;Graphics;" \
+ --set-key=Categories --set-value="ImageProcessing;RasterGraphics;Graphics;"
+        \

This issue is occurring again and again in our repository.

When I manually change the updated line, to have the \ character in the same line, the build is successful and I'm able to merge.

NayamAmarshe avatar Mar 08 '24 12:03 NayamAmarshe

x-checker has support for max_line_length in editorconfig, try adding that and run it locally to check? Or you can break it up in parts

bbhtt avatar Mar 08 '24 12:03 bbhtt