Add pre-commit hooks

See https://pre-commit.com/ for more information.
This commit is contained in:
Hugo Locurcio
2019-02-21 23:10:58 +01:00
parent 1649f91156
commit 95155a3bc6
8 changed files with 68 additions and 63 deletions

View File

@ -79,4 +79,4 @@ The subset table should have the following format:
{ "stair", "_alt_4" },
}
```
You can remove entries as needed.
You can remove entries as needed.

View File

@ -58,4 +58,4 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
end
minetest.register_node(":" ..modname.. ":" .. category .. "_" .. subname .. alternate, def)
stairsplus.register_recipes(category, alternate, modname, subname, recipeitem)
end
end

View File

@ -406,4 +406,4 @@ for type,a in pairs(stairsplus.defs) do
for name,b in pairs(stairsplus.defs[type]) do
table.insert(stairsplus.shapes_list, { type .. "_", name })
end
end
end