X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=make_dungeon.py;h=a9193b6f1b61f5b465c998926aa0630e4122e663;hb=4369284c75828ca78e7ab7ad3dfe732d3538c132;hp=26d65f68462ccc1445f21179441dce9fbc28f1b2;hpb=60d70705063266ed23b1e86d11145770087f660f;p=open-adventure.git diff --git a/make_dungeon.py b/make_dungeon.py index 26d65f6..a9193b6 100755 --- a/make_dungeon.py +++ b/make_dungeon.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# SPDX-FileCopyrightText: Eric S. Raymond +# SPDX-License-Identifier: BSD-2-Clause """ This is the open-adventure dungeon generator. It consumes a YAML description of the dungeon and outputs a dungeon.h and dungeon.c pair of C code files. @@ -6,12 +8,9 @@ the dungeon and outputs a dungeon.h and dungeon.c pair of C code files. The nontrivial part of this is the compilation of the YAML for movement rules to the travel array that's actually used by playermove(). - -Copyright (c) 2017 by Eric S. Raymond -SPDX-License-Identifier: BSD-2-clause """ -# pylint: disable=consider-using-f-string +# pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,too-many-branches,global-statement,multiple-imports,too-many-locals,too-many-statements,too-many-nested-blocks,no-else-return,raise-missing-from,redefined-outer-name import sys, yaml