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 #258

Merged
merged 2 commits into from
Mar 3, 2025
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/collective/zpretty
Expand All @@ -32,7 +32,7 @@ repos:
# """
##
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
rev: 7.1.2
hooks:
- id: flake8

Expand All @@ -44,7 +44,7 @@ repos:
# """
##
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies:
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/browser/validator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Captcha validator, see captcha.txt for design notes.
"""
"""Captcha validator, see captcha.txt for design notes."""

from Acquisition import aq_inner
from plone.app.discussion.interfaces import ICaptcha
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/comment.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""The default comment class and factory.
"""
"""The default comment class and factory."""

from AccessControl import ClassSecurityInfo
from AccessControl.SecurityManagement import getSecurityManager
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/contentrules.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Content rules handlers
"""
"""Content rules handlers"""

from plone.app.discussion import _

Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/events.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
""" Custom discussion events
"""
"""Custom discussion events"""

from plone.app.discussion.interfaces import ICommentAddedEvent
from plone.app.discussion.interfaces import ICommentDeletedEvent
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Interfaces for plone.app.discussion
"""
"""Interfaces for plone.app.discussion"""

from plone.app.discussion import _
from Products.CMFCore.interfaces import ISiteRoot
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/tests/test_catalog.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test the plone.app.discussion catalog indexes
"""
"""Test the plone.app.discussion catalog indexes"""

from datetime import datetime
from datetime import timezone
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/tests/test_functional.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Functional Doctests for plone.app.discussion.
"""
"""Functional Doctests for plone.app.discussion."""

from ..testing import PLONE_APP_DISCUSSION_FUNCTIONAL_TESTING
from plone.testing import layered
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/tests/test_indexers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test for the plone.app.discussion indexers
"""
"""Test for the plone.app.discussion indexers"""

from .. import catalog
from ..interfaces import IConversation
Expand Down
3 changes: 1 addition & 2 deletions plone/app/discussion/tests/test_workflow.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test plone.app.discussion workflow and permissions.
"""
"""Test plone.app.discussion workflow and permissions."""

from ..interfaces import IConversation
from ..interfaces import IDiscussionLayer
Expand Down