aboutsummaryrefslogtreecommitdiffstats
path: root/check
AgeCommit message (Collapse)AuthorFilesLines
2018-06-28ci: Support for negative pylint ratingMartin Klozik1-2/+2
Script ./check was updated to correctly parse and process negative pylint ratings. Also awk expression was fixed to get rid of error messages during parsing of pylint output. JIRA: VSPERF-587 Change-Id: I72c5bd85f38274f308fce881517e5b6fa4a123dc Signed-off-by: Martin Klozik <martin.klozik@tieto.com> Reviewed-by: Al Morton <acmorton@att.com> Reviewed-by: Christian Trautman <ctrautma@redhat.com> Reviewed-by: Sridhar Rao <sridhar.rao@spirent.com> Reviewed-by: Richard Elias <richard.elias@tieto.com>
2017-05-02pylint_error_report: Report errors generated from pylint failuresChristian Trautman1-1/+3
Change the output of the pylint check script to report the errors generated from a non 10 pylint score. JIRA: VSPerf-508 Change-Id: I6d764f4040a662385c83125322bec7e887942bc5 Signed-off-by: Christian Trautman <ctrautma@redhat.com>
2017-02-16ci: Execute pylint checks by VERIFY and MERGE jobsMartin Klozik1-14/+57
Pylint should be executed automatically for every patch to assure, that new code meets vsperf coding standards. JIRA: VSPERF-114 Change-Id: Icb1000e207b2d728497ff3d349fb3cb8334baac7 Signed-off-by: Martin Klozik <martinx.klozik@intel.com>
2016-01-04Code checkerMartin Klozik1-0/+143
Initial implementation of code checker script. It uses pylint with vsperf specific pylintrc file to check code syntax, design, etc. Check can be performed for all files, specified directories or for modified files only. It will skip files defined by EXCLUDE_MODULES in conf/00_common.conf file. Details about script usage can be obtained by ./check -h. Change-Id: I7d894a2c4db92b7b9d4d4312e6f56bc48c8d5dbf JIRA: VSPERF-114 Signed-off-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>