Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Vít Novotný
pb016-priklady
Commits
426fe2b7
Commit
426fe2b7
authored
Jan 17, 2017
by
Vít Novotný
Browse files
added a pylint tester
parent
3ea34c7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
0 → 100644
View file @
426fe2b7
.PHONY
:
test
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'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment