Skip to content

Commit 88fa032

Browse files
committed
Merge remote-tracking branch 'origin/main' into fhnw-develop
2 parents 0197ded + b89b299 commit 88fa032

18 files changed

+97
-125
lines changed

.editorconfig

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
#
55
# EditorConfig Configuration file, for more details see:
@@ -13,7 +13,8 @@
1313
root = true
1414

1515

16-
[*] # For All Files
16+
[*]
17+
# Default settings for all files.
1718
# Unix-style newlines with a newline ending every file
1819
end_of_line = lf
1920
insert_final_newline = true
@@ -29,13 +30,15 @@ max_line_length = off
2930
# 4 space indentation
3031
indent_size = 4
3132

32-
[*.{yml,zpt,pt,dtml,zcml}]
33+
[*.{yml,zpt,pt,dtml,zcml,html,xml}]
3334
# 2 space indentation
3435
indent_size = 2
3536

36-
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss,html}] # Frontend development
37+
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}]
38+
# Frontend development
3739
# 2 space indentation
3840
indent_size = 2
41+
max_line_length = 80
3942

4043
[{Makefile,.gitmodules}]
4144
# Tab indentation (no size specified, but view as 4 spaces)

.flake8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
[flake8]
55
doctests = 1

.github/workflows/meta.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
name: Meta
55
on:
@@ -57,6 +57,13 @@ jobs:
5757
# os_dependencies = "git libxml2 libxslt"
5858
##
5959

60+
##
61+
# To test against a specific matrix of python versions
62+
# when running tests jobs, add in .meta.toml:
63+
# [github]
64+
# py_versions = "['3.12', '3.11']"
65+
##
66+
6067

6168
##
6269
# Specify additional jobs in .meta.toml:

.github/workflows/test-plone-5.2.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
# python related
55
*.egg-info
@@ -12,13 +12,16 @@
1212
# tools related
1313
build/
1414
.coverage
15+
.*project
1516
coverage.xml
1617
dist/
1718
docs/_build
1819
__pycache__/
1920
.tox
2021
.vscode/
2122
node_modules/
23+
forest.dot
24+
forest.json
2225

2326
# venv / buildout related
2427
bin/
@@ -34,6 +37,7 @@ lib64
3437
parts/
3538
pyvenv.cfg
3639
var/
40+
local.cfg
3741

3842
# mxdev
3943
/instance/
@@ -54,5 +58,3 @@ requirements-mxdev.txt
5458
# _your own configuration lines_
5559
# """
5660
##
57-
58-
.DS_Store

.meta.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
[meta]
55
template = "default"
6-
commit-id = "b3ba013b"
6+
commit-id = "2.0.1.dev0"
77

88
[pyproject]
99
codespell_skip = "*"
1010
codespell_ignores = "vew"
1111
dependencies_ignores = "['plone.volto', 'zestreleaser.towncrier', 'zest.releaser', 'pytest', 'pytest-cov', 'pytest-plone', 'pytest-docker']"
1212
dependencies_mappings = [
13-
"Plone = ['Products.CMFPlone', 'Products.CMFCore', 'Products.GenericSetup']",
13+
"Products.CMFPlone = ['Zope', 'Products.CMFCore', 'plone.app.caching', 'plone.app.iterate', 'plone.indexer', 'plone.protect', 'plone.schema']",
1414
]
1515
check_manifest_ignores = """
1616
"news/*",

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# Generated from:
2-
# https://github.com/plone/meta/tree/master/config/default
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
33
# See the inline comments on how to expand/tweak this configuration file
44
ci:
55
autofix_prs: false
66
autoupdate_schedule: monthly
77

88
repos:
99
- repo: https://github.com/asottile/pyupgrade
10-
rev: v3.8.0
10+
rev: v3.19.1
1111
hooks:
1212
- id: pyupgrade
1313
args: [--py38-plus]
1414
- repo: https://github.com/pycqa/isort
15-
rev: 5.12.0
15+
rev: 6.0.0
1616
hooks:
1717
- id: isort
1818
- repo: https://github.com/psf/black
19-
rev: 23.3.0
19+
rev: 25.1.0
2020
hooks:
2121
- id: black
2222
- repo: https://github.com/collective/zpretty
@@ -32,7 +32,7 @@ repos:
3232
# """
3333
##
3434
- repo: https://github.com/PyCQA/flake8
35-
rev: 6.0.0
35+
rev: 7.1.1
3636
hooks:
3737
- id: flake8
3838

@@ -44,7 +44,7 @@ repos:
4444
# """
4545
##
4646
- repo: https://github.com/codespell-project/codespell
47-
rev: v2.2.5
47+
rev: v2.4.1
4848
hooks:
4949
- id: codespell
5050
additional_dependencies:
@@ -58,20 +58,20 @@ repos:
5858
# """
5959
##
6060
- repo: https://github.com/mgedmin/check-manifest
61-
rev: "0.49"
61+
rev: "0.50"
6262
hooks:
6363
- id: check-manifest
6464
- repo: https://github.com/regebro/pyroma
6565
rev: "4.2"
6666
hooks:
6767
- id: pyroma
6868
- repo: https://github.com/mgedmin/check-python-versions
69-
rev: "0.21.3"
69+
rev: "0.22.1"
7070
hooks:
7171
- id: check-python-versions
7272
args: ['--only', 'setup.py,pyproject.toml']
7373
- repo: https://github.com/collective/i18ndude
74-
rev: "6.0.0"
74+
rev: "6.2.1"
7575
hooks:
7676
- id: i18ndude
7777

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ clean-instance: ## remove existing instance
5555
.PHONY: clean-venv
5656
clean-venv: ## remove virtual environment
5757
rm -fr bin include lib lib64 env pyvenv.cfg .tox .pytest_cache requirements-mxdev.txt
58-
cp constraints-6.0.txt constraints.txt
59-
cp requirements-6.0.txt requirements.txt
58+
cp constraints-6.1.txt constraints.txt
59+
cp requirements-6.1.txt requirements.txt
6060

6161
.PHONY: clean-build
6262
clean-build: ## remove build artifacts
@@ -90,13 +90,13 @@ constraints-mxdev.txt: bin/tox
9090
.PHONY: config
9191
config: bin/pip ## Create instance configuration
9292
@echo "$(GREEN)==> Create instance configuration$(RESET)"
93-
bin/cookiecutter -f --no-input --config-file instance.yaml gh:plone/cookiecutter-zope-instance
93+
bin/cookiecutter -f --no-input -c 2.1.1 --config-file instance.yaml gh:plone/cookiecutter-zope-instance
9494

95-
.PHONY: install-plone-6.0
96-
install-plone-6.0: bin/mxdev config ## pip install Plone packages
95+
.PHONY: install-plone-6.1
96+
install-plone-6.1: bin/mxdev config ## pip install Plone packages
9797
@echo "$(GREEN)==> Setup Build$(RESET)"
98-
cp constraints-6.0.txt constraints.txt
99-
cp requirements-6.0.txt requirements.txt
98+
cp constraints-6.1.txt constraints.txt
99+
cp requirements-6.1.txt requirements.txt
100100
bin/tox -e init
101101
bin/mxdev -c mx.ini
102102
bin/pip install -r requirements-mxdev.txt
@@ -112,7 +112,7 @@ install-plone-5.2: bin/mxdev config ## pip install Plone packages
112112
bin/pip install -r requirements-mxdev.txt
113113

114114
.PHONY: install
115-
install: install-plone-6.0 ## Install Plone 6.0
115+
install: install-plone-6.1 ## Install Plone 6.1
116116

117117
.PHONY: start
118118
start: ## Start a Plone instance on localhost:8080

constraints-5.2.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-c https://dist.plone.org/release/5.2.5/constraints.txt
1+
-c https://dist.plone.org/release/5.2.14/constraints.txt

constraints-6.0.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)