.import
files with no options have a trailing newline at the end, which conflicts with pre-commit hooks
#105456
Labels
Tested versions
System information
Godot v4.5.dev (215acd5) - Fedora Linux 41 (KDE Plasma) on X11 - X11 display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (nvidia; 570.133.07) - 13th Gen Intel(R) Core(TM) i9-13900K (32 threads)
Issue description
.import
files with no options have a trailing newline at the end, which conflicts with pre-commit hooks.See godotengine/godot-demo-projects#1193, where I removed trailing whitespace from all files using a pre-commit hook. If I open all projects and run them, I get this diff (these are the only changed files sacross all demos):
Only GLSL files seem affected by this, most likely because they have no import options to specify.
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: