diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-04 20:57:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 20:57:33 +0200 |
commit | ebf587c482c5ab6603975f4414d4f0374f4ff747 (patch) | |
tree | 1cca8dbd7a9c0258f7b9b574895b5823e2e29b79 /Makefile | |
parent | 9d94afcba122ae6d4620e21b3e1ef1555b7bb2e1 (diff) | |
parent | 7717694f62978697f7886b7661363785f5d58efd (diff) | |
download | vyos-1x-ebf587c482c5ab6603975f4414d4f0374f4ff747.tar.gz vyos-1x-ebf587c482c5ab6603975f4414d4f0374f4ff747.zip |
Merge pull request #3247 from vyos/mergify/bp/sagitta/pr-3246
T6199: drop unused Python imports from graphql source (backport #3246)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |