summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-04 20:34:22 +0200
committerGitHub <noreply@github.com>2024-04-04 20:34:22 +0200
commit3099c96ab7db359da335636bbfcc33c4d6f6e249 (patch)
tree03568ba4ce862e860aced9ebe65919a4293a4f78 /Makefile
parenteedc83e8a5532713d274439254b135c232a99a35 (diff)
parentfaa153524f04ebe8ab5f12d7afe6df2a6eb3728a (diff)
downloadvyos-1x-3099c96ab7db359da335636bbfcc33c4d6f6e249.tar.gz
vyos-1x-3099c96ab7db359da335636bbfcc33c4d6f6e249.zip
Merge pull request #3246 from c-po/spring-cleaning-2
T6199: drop unused Python imports from graphql source
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0868025ae..432de7547 100644
--- a/Makefile
+++ b/Makefile
@@ -6,8 +6,8 @@ SHIM_DIR := src/shim
LIBS := -lzmq
CFLAGS :=
BUILD_ARCH := $(shell dpkg-architecture -q DEB_BUILD_ARCH)
-
J2LINT := $(shell command -v j2lint 2> /dev/null)
+PYLINT_FILES := $(shell git ls-files *.py)
config_xml_src = $(wildcard interface-definitions/*.xml.in)
config_xml_obj = $(config_xml_src:.xml.in=.xml)
@@ -114,7 +114,7 @@ sonar:
.PHONY: unused-imports
unused-imports:
- git ls-files *.py | xargs pylint | grep W0611
+ @pylint --disable=all --enable=W0611 $(PYLINT_FILES)
deb:
dpkg-buildpackage -uc -us -tc -b