Commit 426fe2b7 authored by Vít Novotný's avatar Vít Novotný
Browse files

added a pylint tester

parent 3ea34c7f
.PHONY: test
# Testing the python files via pylint3.
@for FILE in *.py; do \
REPORT="$$(pylint3 --disable=invalid-name,missing-docstring "$$FILE" 2>&1)"; \
if ! [ $$? = 0 ]; then \
printf '%s\nThe above report is for file "%s".\n' "$$REPORT" "$$FILE"; \
exit 1; \
fi; \
done; \
printf 'All OK.\n'
Supports Markdown
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