From baab09e3ab873d3a572581ad9d94cefe737e7f01 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 19 Apr 2022 22:41:14 -0400 Subject: [PATCH] py;imt cleanup. --- Makefile | 2 +- make_graph.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 460550b..e392617 100644 --- a/Makefile +++ b/Makefile @@ -140,6 +140,6 @@ CSUPPRESSIONS = --suppress=missingIncludeSystem --suppress=invalidscanf cppcheck: cppcheck -I. --template gcc --enable=all $(CSUPPRESSIONS) *.[ch] -PYSUPPRESSIONS = line-too-long,invalid-name,missing-function-docstring,too-many-lines,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,consider-using-in +PYSUPPRESSIONS = line-too-long,invalid-name,missing-function-docstring,too-many-lines,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,consider-using-in,dict-iter-missing-items pylint: @pylint --score=n --disable=$(PYSUPPRESSIONS) *.py */*.py diff --git a/make_graph.py b/make_graph.py index f4e1b11..cd085f4 100755 --- a/make_graph.py +++ b/make_graph.py @@ -103,7 +103,7 @@ def reveal(objname): return True obj = object_lookup[objname] return not obj.get("immovable") - + if __name__ == "__main__": with open("adventure.yaml", "r") as f: db = yaml.safe_load(f) -- 2.31.1