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

[pre-commit.ci] pre-commit autoupdate #59

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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