Commit e0098923 authored by Iustin Pop's avatar Iustin Pop
Browse files

Introduce a makefile lint rule

This runs pylint over all the python files. Yes, it takes a long while,
but it's the only way to properly analyze the source codes as only in
this way pylint can see all uses of the various modules/classes/etc.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarOlivier Tharan <>
parent 94fed7da
......@@ -473,6 +473,10 @@ ganeti:
$(CHECK_PYTHON_CODE) $(check_python_code)
.PHONY: lint
lint: ganeti
pylint ganeti $(dist_sbin_SCRIPTS) $(dist_tools_SCRIPTS)
# a dist hook rule for catching revision control directories
if find $(top_distdir) -name .svn -or -name .git | grep .; then \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment