From 7c6c144476cc2ba17213c2ed0d312970c3199b91 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 16 Apr 2021 17:05:04 -0400 Subject: [PATCH] Run pylint on check. --- Makefile | 4 +++- control | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 27f0ad0..914d3d1 100644 --- a/Makefile +++ b/Makefile @@ -28,12 +28,14 @@ super-star-trek-$(VERS).tar.gz: $(SOURCES) sst.6 dist: sst-$(VERS).tar.gz -check: #pylint +check: pylint cd test; $(MAKE) --quiet COMMON_PYLINT = --rcfile=/dev/null --reports=n \ --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \ --dummy-variables-rgx='^_' + + PYLINTOPTS = $(COMMON_PYLINT) --disable=C0103,C0111,C0113,C1001,C0301,C0302,C0321,C0325,C0326,C0410,C1801,E1120,R0101,R0902,R0903,R0911,R0912,R0914,R0915,R0916,R1705,R1711,R1714,R1716,R1723,R1724,R1706,R1710,W0110,W0123,W0141,W0232,W0312,W0603,W0611 pylint: @pylint --output-format=parseable $(PYLINTOPTS) sst.py diff --git a/control b/control index 3311e7f..84813e2 100644 --- a/control +++ b/control @@ -47,4 +47,4 @@ XBS-Logo: trek.png XBS-VC-Tag-Template: %(version)s -XBS-Validate: make pylint check +XBS-Validate: make check -- 2.31.1