Move pylint suppressions inline.
authorEric S. Raymond <esr@thyrsus.com>
Wed, 1 Mar 2023 00:46:50 +0000 (19:46 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Wed, 1 Mar 2023 00:46:50 +0000 (19:46 -0500)
Makefile
make_dungeon.py
make_graph.py
tests/coverage_dungeon.py

index 59f7e4e5af02de348b94a28ca571a9bf7714dd6d..4e5f3316f814f9b2b106cc75054016af3a0477d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -140,6 +140,5 @@ 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,dict-iter-missing-items
 pylint:
-       @pylint --score=n --disable=$(PYSUPPRESSIONS) *.py */*.py
+       @pylint --score=n *.py */*.py
index 5eb7dee5ac60b505797742a86c2d7405c19327ae..c7c9b75984c686d8fd34b5b1e043b8ee1d633a0b 100755 (executable)
@@ -11,7 +11,7 @@ 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
 
index 16ebcba725c8cf1b503c9da1e2be8332449f87ab..b9124d6ab9fc0c9e67cb81df7908dbe61aeb680a 100755 (executable)
@@ -14,7 +14,7 @@ Make a DOT graph of Colossal Cave.
 # 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,multiple-imports,redefined-outer-name
 
 import sys, getopt, yaml
 
index bbab99bcfe841b828b74d19a9efcc2d4b56bc81d..c2ccabe05a96448a3ce8bb499fdad4aea01dd43b 100755 (executable)
@@ -12,7 +12,7 @@ even if the checkfile search doesn't find them. Typically this will because
 they emit a templated message that can't be regression-tested by equality.
 """
 
-# pylint: disable=consider-using-f-string
+# pylint: disable=consider-using-f-string,line-too-long,invalid-name,missing-function-docstring,redefined-outer-name
 
 import os
 import sys