Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plip1734thumbs #19

Merged
merged 4 commits into from Jun 1, 2017
Merged

Plip1734thumbs #19

merged 4 commits into from Jun 1, 2017

Conversation

fgrcon
Copy link
Member

@fgrcon fgrcon commented Oct 3, 2016

provide Mimetype icon path for file types in contentlisting object
plone/Products.CMFPlone#173

@fgrcon
Copy link
Member Author

fgrcon commented Oct 3, 2016

What the hell is going on ? I checked http://docs.plone.org/develop/styleguide/python.html ran isort accordingly .... but ????

@gforcada
Copy link
Sponsor Contributor

gforcada commented Oct 3, 2016

@fgrcon did you have an .isort.cfg file? If not isort sorts the files in a totally different style, see http://jenkinsploneorg.readthedocs.io/en/latest/run-qa-on-package.html for what mr.roboto is actually doing

@fgrcon
Copy link
Member Author

fgrcon commented Oct 4, 2016

@gforcada: Thanks for the hint, but I had done correctly afaik . But following the instructions ... and:

root@debian:/usr/local/p5dev/2buildout/src/plone.app.contentlisting# isort -rc -c -vb -sp /usr/local/p5dev/2buildout/src/plone.app.contentlisting/.isort.cfg plone/
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/init.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/init.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/init.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/interfaces.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/catalog.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/contentlisting.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/realobject.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/browser.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/tests/init.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/tests/test_integration_unit.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/tests/test_integration_doctest.py Everything Looks Good!
SUCCESS: /usr/local/p5dev/2buildout/src/plone.app.contentlisting/plone/app/contentlisting/tests/base.py Everything Looks Good!
root@debian:/usr/local/p5dev/2buildout/src/plone.app.contentlisting#

.isort.cfg in the project path as well as ~/.isort.cfg match the documented config exactly.

@gforcada
Copy link
Sponsor Contributor

gforcada commented Oct 5, 2016

@fgrcon so if you run isort and changes the files, what are the changes being made? a git diff will be enough to check that

@fgrcon
Copy link
Member Author

fgrcon commented Oct 6, 2016

the diff is here: ee5e70b
Isort worked correctly ? So whats wrong now ?

@gforcada
Copy link
Sponsor Contributor

gforcada commented Oct 8, 2016

No, it didn't work correctly, the proper sorting is:

from X import Y
from X import Y  # no blank lines in between
from X import Y

import X
import Y

@fgrcon fgrcon closed this Apr 26, 2017
@fgrcon fgrcon reopened this Apr 27, 2017
@ebrehault ebrehault merged commit f0b255d into master Jun 1, 2017
@fgrcon fgrcon deleted the plip1734thumbs branch June 5, 2017 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants