[Tile-serving] [openstreetmap/osm2pgsql] Add configuration for luacheck and run luacheck in Github actions (PR #2021)

Jochen Topf notifications at github.com
Sun Jul 30 14:28:01 UTC 2023


Also fixes some warnings generated by luacheck.

There are two files not checked: `style.lua`, the old pgsql config that I don't want to touch. And `src/init.lua` which does some things setting up the `osm2pgsql` global which other scripts are not allowed to do. I'll leave that for some later time.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/2021

-- Commit Summary --

  * Add configuration for luacheck and run luacheck in Github actions

-- File Changes --

    A .github/workflows/luacheck.yml (19)
    A .luacheckrc (38)
    M tests/data/test_output_flex.lua (2)
    M tests/data/test_output_flex_stage2.lua (2)
    M tests/data/test_output_flex_stage2_alt.lua (2)
    M tests/data/test_output_flex_uni.lua (2)
    M tests/data/test_output_flex_validgeom.lua (2)
    M tests/data/test_output_flex_way.lua (4)
    M tests/lua/tests.lua (14)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/2021.patch
https://github.com/openstreetmap/osm2pgsql/pull/2021.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/2021
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/2021 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230730/8fd19a7c/attachment.htm>


More information about the Tile-serving mailing list