py;imt cleanup.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 20 Apr 2022 02:41:14 +0000 (22:41 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 20 Apr 2022 02:41:14 +0000 (22:41 -0400)
Makefile
make_graph.py

index 460550babe20a6dc18bd1e8e65d80a24390cb31a..e39261798ce9849f8a322e66370b71ba984c506a 100644 (file)
--- 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
index f4e1b11eb4c9ec81fb01c1244ecebb7c515681c5..cd085f4f65f2637eba1ae7cc9b470e97a8a82615 100755 (executable)
@@ -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)