Browse Source

Adding complexity check to flake8 call

Strahinja Val Markovic 12 years ago
parent
commit
440e3b6f38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -7,7 +7,7 @@ install:
 compiler:
   - gcc
   - clang
-script: flake8 --exclude=jedi --select=F,C9 python && ./install.sh
+script: flake8 --exclude=jedi --select=F,C9 --max-complexity=10 python && ./install.sh
 env:
   - YCM_TESTRUN=1 EXTRA_CMAKE_ARGS=""
   - YCM_TESTRUN=1 EXTRA_CMAKE_ARGS="-DUSE_CLANG_COMPLETER=ON"