luarocks-packages-updater: run nix fmt automatically
Dont have time to invest in updating upstream formatting. Just format with configured formatter.
This commit is contained in:
@@ -143,6 +143,9 @@ class LuaEditor(pluginupdate.Editor):
|
||||
|
||||
print(f"updated {outfilename}")
|
||||
|
||||
# Format the generated file with nix fmt
|
||||
subprocess.run(["nix", "fmt", outfilename], check=True)
|
||||
|
||||
@property
|
||||
def attr_path(self):
|
||||
return "luaPackages"
|
||||
|
||||
Reference in New Issue
Block a user