re-enable pre-commit checks (was disabled unknowingly)

This commit is contained in:
flux 2022-07-22 11:35:01 -07:00
parent 0156ced84d
commit 488f949a97
8 changed files with 9 additions and 12 deletions

View File

@ -1,5 +1,5 @@
name: build
on: [ push, pull_request ]
on: [push, pull_request]
jobs:
build:
@ -7,9 +7,16 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: actions/setup-python@master
- name: Install pre-commit
run: pip3 install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files
- name: install luarocks
run: sudo apt-get install -y luarocks
run: sudo apt-get install -qq luarocks
- name: install luacheck via luarocks
run: luarocks install --local luacheck

View File

@ -4,4 +4,3 @@ luacheck --config ./invsaw/.luacheckrc -q ./invsaw
luacheck --config ./moreblocks/.luacheckrc -q ./moreblocks
luacheck --config ./stairsplus/.luacheckrc -q ./stairsplus
luacheck --config ./stairsplus_legacy/.luacheckrc -q ./stairsplus_legacy

View File

@ -1,4 +1,2 @@
minetest.register_alias("circular_saw", "stairsplus:circular_saw")
minetest.register_alias("moreblocks:circular_saw", "stairsplus:circular_saw")

View File

@ -99,5 +99,3 @@ for _, single in ipairs(api.registered_singles) do
end
api.register_on_register_single(on_register_single)

View File

@ -22,4 +22,3 @@ stairsplus.dofile("compat", "unified_inventory")
stairsplus.dofile("compat", "stairs")
stairsplus.dofile("compat", "old_moreblocks")

View File

@ -130,5 +130,3 @@ for _, single in ipairs(api.registered_singles) do
end
api.register_on_register_single(on_register_single)

View File

@ -36,4 +36,3 @@ for tr in ourdir.glob('*.tr'):
print(f'{key}={value}', file=fh)
else:
print(line, end='', file=fh)

View File

@ -5,4 +5,3 @@ if materials.cement_block and materials.cement_block ~= "gloopblocks:cement" the
elseif minetest.registered_nodes["gloopblocks:cement"] then
stairsplus_legacy.register_legacy("gloopblocks:cement")
end