summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-07-21 21:19:11 +0200
committerChristian Breunig <christian@breunig.cc>2025-07-21 21:19:11 +0200
commitb7a24e7f4945d43deebaa5b33fbcc54e29618938 (patch)
tree8dee6b19d109b487bca23c3ab4b4e4262a550825
parent78c21d260127937dba8d671b54b6eca396ae501a (diff)
downloadvyos-1x-b7a24e7f4945d43deebaa5b33fbcc54e29618938.tar.gz
vyos-1x-b7a24e7f4945d43deebaa5b33fbcc54e29618938.zip
T7648: enable pylint for both migration-scripts and custom daemons (services)
-rw-r--r--Makefile3
-rw-r--r--debian/control2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2f0d24531..3235c7214 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,8 @@ check_migration_scripts_executable:
.PHONE: pylint
pylint:
- @PYTHONPATH=python/ pylint --errors-only $(shell git ls-files python/vyos/ifconfig/*.py python/vyos/utils/*.py src/conf_mode/*.py src/op_mode/*.py)
+ @echo Running "pylint --errors-only ..."
+ @PYTHONPATH=python/ pylint --errors-only $(shell git ls-files python/vyos/ifconfig/*.py python/vyos/utils/*.py src/conf_mode/*.py src/op_mode/*.py src/migration-scripts src/services/vyos*)
.PHONY: j2lint
j2lint:
diff --git a/debian/control b/debian/control
index c3e0979d4..90158b1db 100644
--- a/debian/control
+++ b/debian/control
@@ -19,6 +19,8 @@ Build-Depends:
python3-certbot-nginx,
python3-pam,
python3-dbus,
+ python3-pyroute2,
+ python3-voluptuous,
# For generating command definitions
python3-lxml,
python3-xmltodict,