Skip to content

Commit

Permalink
Merge pull request #188 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 54110e0 + 5dbbe50 commit ae02fef
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 All @@ -36,7 +36,7 @@ repos:
hooks:
- id: flake8
- 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 README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The Factory Type Information (FTI)
which can be entered TTW if there is no file or schema interface to use), and export it as a GenericSetup extension profile.

Behaviors
Behaviors are a way write make re-usable bits of functionality that can be toggled on or off on a per-type basis.
Behaviors are a way write make reusable bits of functionality that can be toggled on or off on a per-type basis.
Examples may include common metadata, or common functionality such as locking, tagging or ratings.

Behaviors are implemented using the plone.behavior package.
Expand All @@ -171,7 +171,7 @@ The Dexterity Ecosystem
-----------------------

The Dexterity system comprises a number of packages, most of which are
independently re-usable. In addition, Dexterity uses many components from
independently reusable. In addition, Dexterity uses many components from
Zope and CMF.

The most important packages are:
Expand Down Expand Up @@ -220,7 +220,7 @@ The most important packages are:
Developer Manual
----------------

The `Dexterity Developer Manual <http://docs.plone.org/external/plone.app.dexterity/docs/index.html>`_ is a complete documentation with practical examples and part of the `Offical Plone Documentation <http://docs.plone.org/>`_.
The `Dexterity Developer Manual <http://docs.plone.org/external/plone.app.dexterity/docs/index.html>`_ is a complete documentation with practical examples and part of the `Official Plone Documentation <http://docs.plone.org/>`_.


Source Code
Expand Down
2 changes: 1 addition & 1 deletion plone/dexterity/filerepresentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ def _getMessage(self):
# Construct message on demand.
message = constructMessageFromSchemata(self.context, iterSchemata(self.context))

# Store the portal type in a header, to allow it to be identifed later
# Store the portal type in a header, to allow it to be identified later
message["Portal-Type"] = self.context.portal_type

return message
Expand Down

0 comments on commit ae02fef

Please sign in to comment.