From 3763294952cf22df7573d3ec97d60474e5404003 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:32:04 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aa2a758..e13b866 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -32,7 +32,7 @@ repos: # """ ## - repo: https://github.com/PyCQA/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 From de9907ec7d8de6c40580c678d8015df6644e0d3e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 18:32:22 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- Products/CMFDynamicViewFTI/browser/__init__.py | 1 + Products/CMFDynamicViewFTI/browser/typeinfo.py | 1 + Products/CMFDynamicViewFTI/browserdefault.py | 1 + 3 files changed, 3 insertions(+) diff --git a/Products/CMFDynamicViewFTI/browser/__init__.py b/Products/CMFDynamicViewFTI/browser/__init__.py index 8b2a76f..e81cd2a 100644 --- a/Products/CMFDynamicViewFTI/browser/__init__.py +++ b/Products/CMFDynamicViewFTI/browser/__init__.py @@ -1,4 +1,5 @@ """ Browser subpackage """ + # $Id$ diff --git a/Products/CMFDynamicViewFTI/browser/typeinfo.py b/Products/CMFDynamicViewFTI/browser/typeinfo.py index 1ec9362..28220d4 100644 --- a/Products/CMFDynamicViewFTI/browser/typeinfo.py +++ b/Products/CMFDynamicViewFTI/browser/typeinfo.py @@ -1,6 +1,7 @@ """ Add DynamicView FTI form (ZMI) """ + # $Id$ from Products.CMFCore.browser.typeinfo import FactoryTypeInformationAddView diff --git a/Products/CMFDynamicViewFTI/browserdefault.py b/Products/CMFDynamicViewFTI/browserdefault.py index 130907f..178786a 100644 --- a/Products/CMFDynamicViewFTI/browserdefault.py +++ b/Products/CMFDynamicViewFTI/browserdefault.py @@ -5,6 +5,7 @@ The implementation extends TemplateMixin from Archetypes, and implements the ISelectableBrowserDefault interface from CMFPlone. """ + from AccessControl import ClassSecurityInfo from AccessControl.class_init import InitializeClass from Acquisition import aq_base