diff --git a/.editorconfig b/.editorconfig index 5b3c112..d054af1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file # # EditorConfig Configuration file, for more details see: diff --git a/.flake8 b/.flake8 index 38918f4..3e2d35f 100644 --- a/.flake8 +++ b/.flake8 @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file [flake8] doctests = 1 diff --git a/.github/workflows/meta.yml b/.github/workflows/meta.yml index 696694e..ec27f9f 100644 --- a/.github/workflows/meta.yml +++ b/.github/workflows/meta.yml @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file name: Meta on: diff --git a/.gitignore b/.gitignore index 486392f..a602abe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file # python related *.egg-info @@ -20,6 +20,8 @@ __pycache__/ .tox .vscode/ node_modules/ +forest.dot +forest.json # venv / buildout related bin/ diff --git a/.meta.toml b/.meta.toml index 84dea38..1a80d1e 100644 --- a/.meta.toml +++ b/.meta.toml @@ -1,13 +1,13 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file [meta] template = "default" -commit-id = "4b86f8f1" +commit-id = "9d225a77" [pyproject] dependencies_ignores = "['zope.testing']" codespell_ignores = "whit" [github] -py_versions = "[\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"3.8\", \"pypy3.9\"]" +py_versions = "[\"3.12\", \"3.11\", \"3.10\", \"3.9\", \"pypy3.9\"]" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18b7532..cb3ab3f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file ci: autofix_prs: false @@ -12,11 +12,11 @@ repos: - id: pyupgrade args: [--py38-plus] - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.0 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 @@ -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: diff --git a/dependabot.yml b/dependabot.yml index bbd3ab0..e5e4522 100644 --- a/dependabot.yml +++ b/dependabot.yml @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file version: 2 updates: diff --git a/news/+meta.internal b/news/+meta.internal new file mode 100644 index 0000000..c08f539 --- /dev/null +++ b/news/+meta.internal @@ -0,0 +1,2 @@ +Update configuration files. +[plone devs] diff --git a/plone/memoize/compress.py b/plone/memoize/compress.py index 160d4cf..d01fb26 100644 --- a/plone/memoize/compress.py +++ b/plone/memoize/compress.py @@ -1,5 +1,4 @@ -"""XHTML Compressor -""" +"""XHTML Compressor""" from plone.memoize.interfaces import IXHTMLCompressor from zope.component import queryUtility diff --git a/plone/memoize/ram.py b/plone/memoize/ram.py index f1a65b2..a3a9ec8 100644 --- a/plone/memoize/ram.py +++ b/plone/memoize/ram.py @@ -1,5 +1,4 @@ -"""A cache decorator that uses RAMCache by default. -""" +"""A cache decorator that uses RAMCache by default.""" from hashlib import sha1 from plone.memoize import volatile diff --git a/pyproject.toml b/pyproject.toml index aa51acb..e77b756 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file [build-system] requires = ["setuptools>=68.2"] @@ -71,7 +71,7 @@ target-version = ["py38"] ## [tool.codespell] -ignore-words-list = "discreet,assertin,whit" +ignore-words-list = "discreet,assertin,thet,whit" skip = "*.po," ## # Add extra configuration options in .meta.toml: @@ -119,6 +119,7 @@ Zope = [ 'Products.CMFCore', 'Products.CMFDynamicViewFTI', ] python-dateutil = ['dateutil'] +pytest-plone = ['pytest', 'zope.pytestlayer', 'plone.testing', 'plone.app.testing'] ignore-packages = ['zope.testing'] ## diff --git a/tox.ini b/tox.ini index 7a0bbf3..8bd6977 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ # Generated from: -# https://github.com/plone/meta/tree/main/config/default +# https://github.com/plone/meta/tree/main/src/plone/meta/default # See the inline comments on how to expand/tweak this configuration file [tox] # We need 4.4.0 for constrain_package_deps.