Add pylint checker to the project (#1602)

* Added 'pylint' to dependencies
 * Added pylint config file
 * Added to travis CI as an allow failure job
   (until all of the warnings are fixed)
 * Added to 'run-test.py'

Related issue: #1600

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2017-02-21 12:40:33 +01:00
committed by GitHub
parent 00e3de230f
commit 92eaea2a8e
6 changed files with 404 additions and 1 deletions
+2
View File
@@ -13,6 +13,7 @@ env:
- OPTS="--jerry-tests --jerry-test-suite --buildoptions=--jerry-libc=off,--compile-flag=-m32,--cpointer-32bit=on"
- OPTS="--unittests"
- OPTS="--test262"
- OPTS="--check-pylint"
matrix:
include:
@@ -40,6 +41,7 @@ matrix:
env: OPTS="--jerry-tests --jerry-test-suite --buildoptions=--compile-flag=-fsanitize=undefined,--compile-flag=-m32,--compile-flag=-fno-omit-frame-pointer,--compile-flag=-fno-common,--compile-flag=-g,--jerry-libc=off,--static-link=off,--strip=off,--system-allocator=on,--linker-flag=-fuse-ld=gold" UBSAN_OPTIONS=print_stacktrace=1 TIMEOUT=600
allow_failures:
- compiler: gcc-5
- env: OPTS="--check-pylint"
fast_finish: true
before_install: