Skip to content

Commit

Permalink
Fix code analysis and add missing part on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hvelarde committed Nov 19, 2013
1 parent 0f2c9a7 commit 412597f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
10 changes: 2 additions & 8 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ extends =
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg

package-name = sc.social.like
package-extras = [develop, test]
package-extras = [test]

parts +=
i18ndude
omelette
zopepy

[code-analysis]
directory = ${buildout:directory}/sc/social/like
pre-commit-hook = False
flake8-ignore = E501
flake8-max-complexity = 11

[i18ndude]
recipe = zc.recipe.egg
Expand All @@ -23,9 +23,3 @@ eggs = i18ndude
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy
2 changes: 1 addition & 1 deletion sc/social/like/plugins/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding:utf-8 -*-
from sc.social.like.plugins.interfaces import IPlugin
from sc.social.like.plugins.interfaces import IPlugin # noqa


class Plugin(object):
Expand Down
8 changes: 8 additions & 0 deletions travis.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@ test-eggs = Pillow
parts +=
createcoverage
coverage-sh
zopepy

[code-analysis]
directory = ${buildout:directory}/sc/social/like
pre-commit-hook = False
flake8-ignore = E501
flake8-max-complexity = 11

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy

0 comments on commit 412597f

Please sign in to comment.