Skip to content
Browse files

fix validation script

  • Loading branch information...
1 parent 6e9a940 commit 62b89981b2f76ce0ee4f5a9387bfac3b4ed264fd @hvelarde hvelarde committed
Showing with 8 additions and 8 deletions.
  1. +1 −1 test-4.1.x.cfg
  2. +7 −7 validation.sh
View
2 test-4.1.x.cfg
@@ -1,7 +1,7 @@
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.1.x.cfg
- http://good-py.appspot.com/release/dexterity/1.2.1
+ https://good-py.appspot.com/release/dexterity/1.2.1
package-name = collective.polls
package-extras = [test]
View
14 validation.sh
@@ -8,17 +8,17 @@
# CSS_IGNORES: skip file names matching find pattern (use ! -name PATTERN)
# JS_IGNORES: skip file names matching find pattern (use ! -name PATTERN)
-SRC = src/collective/polls/
-MINIMUM_COVERAGE = 72
-PEP8_IGNORES = E501
-MAX_COMPLEXITY = 12
-CSS_IGNORES = ! -name jquery\*
-JS_IGNORES = ! -name excanvas\* ! -name jquery\*
+SRC=src/collective/polls/
+MINIMUM_COVERAGE=72
+PEP8_IGNORES=E501
+MAX_COMPLEXITY=12
+CSS_IGNORES="! -name jquery\*"
+JS_IGNORES ="! -name excanvas\* ! -name jquery\*"
if "$QA" != "" ; then
@echo Validating Python files
# FIXME: skip complexity validation for now as we don't have time to deal with it
- #bin/flake8 --ignore=$(PEP8_IGNORES) --max-complexity=$(MAX_COMPLEXITY) $(SRC)
+ #bin/flake8 --ignore=$PEP8_IGNORES --max-complexity=$MAX_COMPLEXITY $SRC
bin/flake8 --ignore=$PEP8_IGNORES $SRC
@echo Validating minimun test coverage

0 comments on commit 62b8998

Please sign in to comment.
Something went wrong with that request. Please try again.