File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11-c https://dist.plone.org/release/6.0-latest/constraints.txt
2-
3- #setuptools==54.0.0
4- #zc.buildout==3.0.0b2
5- #pip==21.0.1
6- #
7- ## Windows specific down here (has to be installed here, fails in buildout)
8- ## Dependency of zope.sendmail:
9- #pywin32 ; platform_system == 'Windows'
10- #
11- ## SSL Certs on windows, because Python is missing them otherwise:
12- #certifi ; platform_system == 'Windows'
13- tox==4.3.5
14- isort>=5
15- black==22.8.0
16- flake8==5.0.4
Original file line number Diff line number Diff line change 11-c constraints_plone60.txt
2- setuptools
32zc.buildout
Original file line number Diff line number Diff line change 55from plone import api
66from plone .registry .interfaces import IRegistry
77from Products .CMFPlone .interfaces .controlpanel import IMailSchema
8+ from redturtle .rsync import _
89from redturtle .rsync .interfaces import IRedturtleRsyncAdapter
910from redturtle .rsync .scripts .rsync import logger
1011from requests .adapters import HTTPAdapter
1314from zope .component import getUtility
1415from zope .interface import implementer
1516from zope .interface import Interface
16- from redturtle .rsync import _
1717
1818import json
1919import re
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ def _main(args):
138138 runner = ScriptRunner (args = args )
139139 runner .rsync ()
140140 if not getattr (runner .options , "dry_run" , False ):
141- logger .info (f "FINAL COMMIT" )
141+ logger .info ("FINAL COMMIT" )
142142 transaction .get ().note (
143143 runner .adapter .log_item_title (start = runner .adapter .start )
144144 )
Original file line number Diff line number Diff line change 11[tox]
22envlist =
3- py37-lint,
4- py38-lint,
5- py39-lint,
6- py310-lint,
3+ py311-lint,
74 black-check,
8- py{38,37 }-Plone{52},
9- py{39,310 }-Plone{60},
5+ py{38}-Plone{52},
6+ py{311 }-Plone{60},
107# docs,
118# coverage-report,
129
@@ -15,11 +12,10 @@ skip_missing_interpreters = True
1512
1613[gh-actions]
1714python =
18- 3.6: py36
19- 3.7: py37
2015 3.8: py38
2116 3.9: py39
2217 3.10: py310
18+ 3.11: py311
2319
2420
2521[gh-actions:env]
@@ -54,6 +50,10 @@ deps =
5450 Plone60: -rrequirements_plone60.txt
5551# Plone60: -cconstraints_plone60.txt
5652 coverage
53+ isort>=5
54+ black ==22.8.0
55+ flake8 ==5.0.4
56+
5757
5858
5959[testenv:coverage-report]
@@ -127,7 +127,7 @@ commands =
127127
128128
129129[testenv:black-check]
130- basepython = python3.9
130+ basepython = python3.11
131131skip_install = True
132132deps =
133133 -cconstraints.txt
@@ -138,7 +138,7 @@ commands =
138138
139139
140140[testenv:black-enforce]
141- basepython = python3.9
141+ basepython = python3.11
142142skip_install = True
143143deps =
144144 -cconstraints.txt
@@ -176,6 +176,14 @@ deps = {[lint]deps}
176176commands = {[lint]commands}
177177allowlist_externals = {[lint]allowlist_externals}
178178
179+ [testenv:py311-lint]
180+ basepython = python3.11
181+ skip_install = true
182+ deps = {[lint]deps}
183+ commands = {[lint]commands}
184+ allowlist_externals = {[lint]allowlist_externals}
185+
186+
179187[testenv:docs]
180188skip_install = true
181189
You can’t perform that action at this time.
0 commit comments