Skip to content

Commit

Permalink
Merge pull request #59 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 Feb 5, 2024
2 parents 6346ef4 + e2aa75b commit a75f375
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/collective/zpretty
Expand All @@ -33,7 +33,7 @@ repos:
# """
##
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8

Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/cache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Cache
"""

from Acquisition import aq_base
from time import time

Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/setuphandlers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
PortalTransforms setup handlers.
"""

from io import StringIO as NativeStringIO
from Products.CMFCore.utils import getToolByName

Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/transforms/lynx_dump.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Uses lynx -dump
"""

from Products.PortalTransforms.interfaces import ITransform
from Products.PortalTransforms.libtransforms.commandtransform import popentransform
from zope.interface import implementer
Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/transforms/pdf_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Uses the http://sf.net/projects/pdftohtml bin to do its handy work
"""

from Products.PortalTransforms.interfaces import ITransform
from Products.PortalTransforms.libtransforms.commandtransform import commandtransform
from Products.PortalTransforms.libtransforms.utils import bodyfinder
Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/transforms/rtf_to_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Uses the http://sf.net/projects/rtf2xml bin to do its handy work
"""

from Products.PortalTransforms.interfaces import ITransform
from Products.PortalTransforms.libtransforms.commandtransform import commandtransform
from Products.PortalTransforms.libtransforms.utils import sansext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""try to build some useful transformations with the command and xml
transforms and the available binaries
"""

from command import ExternalCommandTransform
from Products.PortalTransforms.libtransforms.utils import bin_search
from Products.PortalTransforms.libtransforms.utils import MissingBinary
Expand Down
1 change: 1 addition & 0 deletions Products/PortalTransforms/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""some common utilities
"""

# directory where template for the ZMI are located
import logging
import os.path
Expand Down

0 comments on commit a75f375

Please sign in to comment.