Skip to content

Commit

Permalink
Pin setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Oct 29, 2016
1 parent c5208ca commit 35a154e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ install:
- mkdir -p buildout-cache/eggs
- mkdir -p buildout-cache/downloads
- sed -ie "s#-4.3.x#-$PLONE_VERSION.x#" buildout.cfg
- pip install -U zc.buildout setuptools==20.1.1
- pip install -U zc.buildout setuptools==21.0.0
- buildout annotate
- buildout

Expand Down
1 change: 1 addition & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ mccabe = 0.5.2
plone.recipe.codeanalysis = 1.0b5
pycodestyle = 2.0.0
pyflakes = 1.2.3
setuptools = 21.0.0
zc.buildout = 2.5.3

# Required by:
Expand Down

1 comment on commit 35a154e

@jenkins-plone-org
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gforcada Jenkins CI reporting about code analysis
See the full report here: http://jenkins.plone.org/job/package-plone.api/79/violations

src/plone/api/content.py:268:1: C901 'delete' is too complex (15)
src/plone/api/content.py:360:1: C901 '_wf_transitions_for' is too complex (13)
src/plone/api/content.py:425:1: C901 'transition' is too complex (13)
src/plone/api/tests/test_doctests.py:118:13: T001 print statement found.
src/plone/api/tests/test_env.py:31:14: D001 found declarePublic replace it with AccessControl.ClassSecurityInfo.public
src/plone/api/tests/test_env.py:32:14: D001 found declareProtected replace it with AccessControl.ClassSecurityInfo.protected
src/plone/api/tests/test_env.py:33:14: D001 found declareProtected replace it with AccessControl.ClassSecurityInfo.protected
src/plone/api/tests/test_env.py:34:14: D001 found declareProtected replace it with AccessControl.ClassSecurityInfo.protected
src/plone/api/tests/test_env.py:35:14: D001 found declarePrivate replace it with AccessControl.ClassSecurityInfo.private

Follow these instructions to reproduce it locally.

Please sign in to comment.