Skip to content

Commit

Permalink
Configuring with plone/meta, especially updating .meta.toml.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritsvanrees committed Mar 30, 2023
1 parent 79037e7 commit 342d747
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,14 @@
# https://github.com/plone/meta/tree/master/config/default
[meta]
template = "default"
commit-id = "a533099d"
commit-id = "c79ab88f"

[check-manifest]
additional-ignores = [
"*.cfg",
]

[dependencies]
mappings = [
"ExtensionClass = ['ComputedAttribute']",
]
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/collective/zpretty
rev: 3.0.2
rev: 3.0.3
hooks:
- id: zpretty
- repo: https://github.com/PyCQA/flake8
Expand Down
2 changes: 2 additions & 0 deletions news/c79ab88f.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update configuration files.
[plone devs]
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ ignore =
.pre-commit-config.yaml
tox.ini
*.cfg
.coveragerc
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Generated from:
# https://github.com/plone/meta/tree/master/config/default
[tox]
# We need 4.4.0 for constrain_package_deps.
min_version = 4.4.0
envlist =
format
lint
Expand Down Expand Up @@ -37,14 +39,15 @@ deps =
graphviz # optional dependency of pipdeptree
commands =
dependencychecker
sh -c 'pipdeptree --exclude setuptools,pipdeptree,wheel,pipdeptree,z3c.dependencychecker,zope.interface,zope.component --graph-output svg > dependencies.svg'
sh -c 'pipdeptree --exclude setuptools,wheel,pipdeptree,z3c.dependencychecker,zope.interface,zope.component --graph-output svg > dependencies.svg'

[testenv:test]
usedevelop = true
constrain_package_deps = true
deps =
zope.testrunner
-c https://dist.plone.org/release/6.0-dev/constraints.txt
commands =
zope-testrunner --test-path={toxinidir} -s plone.portlet.collection
zope-testrunner --all --test-path={toxinidir} -s plone.portlet.collection {posargs}
extras =
test

0 comments on commit 342d747

Please sign in to comment.