From b30f6e9f9ebfc0a3023841932a8942b17997f274 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Sun, 29 Jan 2023 20:53:22 +0100 Subject: [PATCH 1/2] Configuring with plone/meta --- lint-requirements.txt | 1 + tox.ini | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lint-requirements.txt b/lint-requirements.txt index 129db4d..b363062 100644 --- a/lint-requirements.txt +++ b/lint-requirements.txt @@ -5,4 +5,5 @@ check-manifest==0.49 codespell==2.2.2 flake8==6.0.0 isort==5.11.4 +pyroma==4.1 pyupgrade==3.3.1 diff --git a/tox.ini b/tox.ini index 8d47726..3dd2b41 100644 --- a/tox.ini +++ b/tox.ini @@ -32,9 +32,11 @@ deps = codespell tomli # needed for codespell to read pyproject.toml check-manifest + pyroma -c lint-requirements.txt commands = sh -c '{[testenv]py_files} | xargs flake8' sh -c '{[testenv]py_files} | xargs codespell' sh -c '{[testenv]text_files} | xargs codespell' check-manifest + pyroma -n 10 . From fc78faf22c5fc849d9a4efbdf9bee600d5cf1ce7 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Sun, 29 Jan 2023 20:54:21 +0100 Subject: [PATCH 2/2] Add python_requires 3.8+, making pyroma happy. --- .meta.toml | 2 +- news/1.internal | 2 +- setup.py | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.meta.toml b/.meta.toml index 4929b1e..dc0e730 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/plone/meta/tree/master/config/default [meta] template = "default" -commit-id = "66442993" +commit-id = "26c2ecc2" [codespell] additional-ignores = "bund" diff --git a/news/1.internal b/news/1.internal index f2bf496..19c2982 100644 --- a/news/1.internal +++ b/news/1.internal @@ -1,2 +1,2 @@ Update code to current Plone meta standards. -[gforcada] +[gforcada, maurits] diff --git a/setup.py b/setup.py index 8a6c8ab..ad2cc37 100644 --- a/setup.py +++ b/setup.py @@ -37,6 +37,7 @@ namespace_packages=["plone"], include_package_data=True, zip_safe=False, + python_requires=">=3.8", extras_require=dict( test=[ "zope.configuration",