diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3d311a8..94c1c38 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,20 @@ repos: - repo: local hooks: + - id: detect_debug + name: detect debug + language: pygrep + entry: DEBUG + pass_filenames: true + exclude: .pre-commit-config.yaml + fail_fast: true + - id: stylua + name: stylua + language: system + entry: stylua + pass_filenames: true + types: [ file, lua ] + fail_fast: true - id: luacheck name: luacheck language: system @@ -17,9 +31,4 @@ repos: pass_filenames: true types: [ file, lua ] args: [ -q ] - - id: stylua - name: stylua - language: system - entry: stylua - pass_filenames: true - types: [ file, lua ] + fail_fast: true diff --git a/mod.conf b/mod.conf index e6199a6..6c8a09c 100644 --- a/mod.conf +++ b/mod.conf @@ -3,7 +3,7 @@ title = toolcap_monoids description = an API to allow multiple sources to apply changes to a tools's capabilities. website = https://content.minetest.net/packages/rheo/toolcap_monoids/ author = flux -license = AGPL-3.0-or-later +license = LGPL-3.0-or-later media_license = CC-BY-SA-4.0 version = 2023-03-11 min_minetest_version = 5.6.1