Skip to content

Commit 5cfc169

Browse files
authored
Merge pull request #258 from plone/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate [ci-skip]
2 parents 74ac00d + 9b2f066 commit 5cfc169

10 files changed

+13
-22
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ repos:
1212
- id: pyupgrade
1313
args: [--py38-plus]
1414
- repo: https://github.com/pycqa/isort
15-
rev: 5.13.2
15+
rev: 6.0.1
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black
19-
rev: 24.10.0
19+
rev: 25.1.0
2020
hooks:
2121
- id: black
2222
- repo: https://github.com/collective/zpretty
@@ -32,7 +32,7 @@ repos:
3232
# """
3333
##
3434
- repo: https://github.com/PyCQA/flake8
35-
rev: 7.1.1
35+
rev: 7.1.2
3636
hooks:
3737
- id: flake8
3838

@@ -44,7 +44,7 @@ repos:
4444
# """
4545
##
4646
- repo: https://github.com/codespell-project/codespell
47-
rev: v2.3.0
47+
rev: v2.4.1
4848
hooks:
4949
- id: codespell
5050
additional_dependencies:

plone/app/discussion/browser/validator.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Captcha validator, see captcha.txt for design notes.
2-
"""
1+
"""Captcha validator, see captcha.txt for design notes."""
32

43
from Acquisition import aq_inner
54
from plone.app.discussion.interfaces import ICaptcha

plone/app/discussion/comment.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""The default comment class and factory.
2-
"""
1+
"""The default comment class and factory."""
32

43
from AccessControl import ClassSecurityInfo
54
from AccessControl.SecurityManagement import getSecurityManager

plone/app/discussion/contentrules.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
""" Content rules handlers
2-
"""
1+
"""Content rules handlers"""
32

43
from plone.app.discussion import _
54

plone/app/discussion/events.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
""" Custom discussion events
2-
"""
1+
"""Custom discussion events"""
32

43
from plone.app.discussion.interfaces import ICommentAddedEvent
54
from plone.app.discussion.interfaces import ICommentDeletedEvent

plone/app/discussion/interfaces.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Interfaces for plone.app.discussion
2-
"""
1+
"""Interfaces for plone.app.discussion"""
32

43
from plone.app.discussion import _
54
from Products.CMFCore.interfaces import ISiteRoot

plone/app/discussion/tests/test_catalog.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Test the plone.app.discussion catalog indexes
2-
"""
1+
"""Test the plone.app.discussion catalog indexes"""
32

43
from datetime import datetime
54
from datetime import timezone

plone/app/discussion/tests/test_functional.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Functional Doctests for plone.app.discussion.
2-
"""
1+
"""Functional Doctests for plone.app.discussion."""
32

43
from ..testing import PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING
54
from plone.testing import layered

plone/app/discussion/tests/test_indexers.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Test for the plone.app.discussion indexers
2-
"""
1+
"""Test for the plone.app.discussion indexers"""
32

43
from .. import catalog
54
from ..interfaces import IConversation

plone/app/discussion/tests/test_workflow.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""Test plone.app.discussion workflow and permissions.
2-
"""
1+
"""Test plone.app.discussion workflow and permissions."""
32

43
from ..interfaces import IConversation
54
from ..interfaces import IDiscussionLayer

0 commit comments

Comments
 (0)