aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_boss_html.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-09-04 16:11:05 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2025-09-04 18:10:36 +0200
commiteb98e84558f1211eb28f7839fc178d9974187e37 (patch)
treeac6259a5261295d1512f063b5bde6485b7c87bfd /scripts/generate_boss_html.py
parent07758e639074a89b580f67cc807543a209672898 (diff)
downloadmuhqs-game-eb98e84558f1211eb28f7839fc178d9974187e37.tar.gz
muhqs-game-eb98e84558f1211eb28f7839fc178d9974187e37.zip
improve python scripts and pipenv environment
Diffstat (limited to 'scripts/generate_boss_html.py')
-rwxr-xr-xscripts/generate_boss_html.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/generate_boss_html.py b/scripts/generate_boss_html.py
index 12eadea3..f21c10e4 100755
--- a/scripts/generate_boss_html.py
+++ b/scripts/generate_boss_html.py
@@ -264,7 +264,8 @@ def gen_startdeck_ul(map_def: dict, lang: str) -> str:
hlink = generate_card_hover_links.gen_hoverable_link(
c,
- lambda _: c,
+ # The closed-over c is immediately used in each loop iteration.
+ lambda _: c, # pylint: disable=W0640
gen_link_target,
'../latex-build/',
lang,
@@ -284,8 +285,8 @@ def main():
help='the name of the boss',
choices=['kraken', 'tyrant'])
parser.add_argument('data', help='directory containing the card data')
- parser.add_argument('maps', help='directoey containing the map data')
- parser.add_argument('rules', help='directoey containing the rules')
+ parser.add_argument('maps', help='directory containing the map data')
+ parser.add_argument('rules', help='directory containing the rules')
args = parser.parse_args()