Skip to content

Commit

Permalink
Merge pull request #217 from plone/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate

[ci-skip]
  • Loading branch information
gforcada authored Oct 3, 2023
2 parents 09181dd + d8ca339 commit 026c073
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ci:

repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.10.1
rev: v3.14.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -16,7 +16,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
- repo: https://github.com/collective/zpretty
Expand Down Expand Up @@ -44,7 +44,7 @@ repos:
# """
##
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
additional_dependencies:
Expand Down
6 changes: 3 additions & 3 deletions plone/app/discussion/conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ def addComment(self, comment):
self._children[reply_to].insert(id)

# Add the annotation if not already done
annotions = IAnnotations(self.__parent__)
if ANNOTATION_KEY not in annotions:
annotions[ANNOTATION_KEY] = aq_base(self)
annotations = IAnnotations(self.__parent__)
if ANNOTATION_KEY not in annotations:
annotations[ANNOTATION_KEY] = aq_base(self)

# Notify that the object is added. The object must here be
# acquisition wrapped or the indexing will fail.
Expand Down
2 changes: 1 addition & 1 deletion plone/app/discussion/design.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ can be generated from this as well, using the helper class in
plone.app.registry.

Note that some settings, notably those to do with permissions and workflow,
will need to be wired up as custom form fields with custom data mangers
will need to be wired up as custom form fields with custom data managers
or similar.

Workflow and permissions
Expand Down

0 comments on commit 026c073

Please sign in to comment.