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

Plone base overhaul #71

Merged
merged 6 commits into from
May 3, 2022
Merged

Plone base overhaul #71

merged 6 commits into from
May 3, 2022

Conversation

jensens
Copy link
Member

@jensens jensens commented May 1, 2022

isort/black/pyupgrade

plone base usage

get rid of six and archetypes

@mister-roboto
Copy link

@jensens thanks for creating this Pull Request and helping to improve Plone!

TL;DR: Finish pushing changes, pass all other checks, then paste a comment:

@jenkins-plone-org please run jobs

To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically.

Happy hacking!

@jensens jensens marked this pull request as ready for review May 1, 2022 00:10
@jensens
Copy link
Member Author

jensens commented May 1, 2022

@jenkins-plone-org please run jobs

@jensens jensens requested a review from mauritsvanrees May 1, 2022 00:11
@jensens
Copy link
Member Author

jensens commented May 1, 2022

@jenkins-plone-org please run jobs

Copy link
Member

@mauritsvanrees mauritsvanrees left a comment

Choose a reason for hiding this comment

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

LGTM. One inline comment about a few more Archetypes lines that can be removed.

elif IFileContent is None:
return False
elif not IFileContent.providedBy(obj):
return False
else:
Copy link
Member

Choose a reason for hiding this comment

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

This else was only executed if IFileContent.providedBy(obj). This can no longer be true, so this code branch can be removed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, no, its now executed if not IFile.providedBy(obj)

@pbauer pbauer merged commit a324729 into master May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants