.meta.toml Options#
.meta.toml is the per-repository configuration file for plone.meta.
It controls how each generated file is customized.
Tip
The Jinja2 template files in src/plone/meta/default/ contain comments documenting each available option. Check the templates for the most up-to-date list.
[meta]#
Managed by plone.meta itself. Do not edit manually.
templateConfiguration template type. Currently always
"default".commit-id8-character commit hash of the plone.meta version used.
[editorconfig]#
extra_linesAdditional editorconfig rules appended to the generated file.
[flake8]#
extra_linesAdditional flake8 configuration appended to the generated file.
[gitignore]#
extra_linesAdditional gitignore patterns appended to the generated file.
[github]#
jobsList of CI jobs to enable in
meta.yml. Available:"qa","test","coverage","dependencies","release_ready","circular". Default:["qa", "coverage", "dependencies", "release_ready", "circular"].Note
"test"is no longer included in the default jobs list. Testing is now handled by the separatetest-matrix.ymlworkflow, which is generated automatically whenuse_test_matrixis enabled (the default). You can still add"test"to the jobs list if you need the legacy single-version test job.refBranch or tag of plone/meta to reference for workflow files. Default:
"2.x".envYAML-formatted environment variables for all jobs.
os_dependenciesSpace-separated Ubuntu package names to install before tests.
extra_lines_after_os_dependenciesAdditional YAML lines inserted after the OS dependency installation step in the workflow. Useful for custom setup steps that need to run before tests (e.g., installing additional tools or configuring the environment).
extra_linesAdditional YAML appended to the workflow file.
[gitlab]#
jobsList of CI jobs. Available:
"lint","release-ready","dependencies","circular-dependencies","testing","coverage".custom_imagesDictionary of Docker images keyed by Python version. Allows specifying different images for different Python versions in the CI matrix.
Example:
toml [gitlab] custom_images = {"3.14" = "python:3.14-trixie", "3.13" = "python:3.13-trixie"}os_dependenciesYAML-formatted apt-get install commands.
extra_linesAdditional YAML appended to the CI configuration.
[pre_commit]#
extra_linesAdditional pre-commit hook configuration.
zpretty_extra_linesExtra configuration for the zpretty hook.
codespell_extra_linesExtra configuration for the codespell hook.
flake8_extra_linesExtra configuration for the flake8 hook (e.g., additional_dependencies).
i18ndude_extra_linesExtra configuration for the i18ndude hook. Set
pass_filenames: falseto disable the check.
[pyproject]#
extra_linesAdditional pyproject.toml tool configuration.
codespell_ignoresComma-separated words to ignore in codespell.
codespell_skipComma-separated file patterns to skip in codespell.
dependencies_ignoresPython list string of packages to ignore in dependency checks.
dependencies_mappingsList of import-to-package mappings for z3c.dependencychecker.
check_manifest_ignoresAdditional patterns for check-manifest to ignore.
check_manifest_extra_linesExtra check-manifest configuration.
black_extra_linesAdditional Black formatter configuration.
isort_extra_linesAdditional isort configuration.
towncrier_issue_formatCustom issue URL format for towncrier.
towncrier_extra_linesExtra towncrier configuration.
[tox]#
test_runnerTest runner to use.
"pytest"or"zope.testrunner"(default).test_pathRoot path for test discovery. Auto-detected from
tests/orsrc/if not set.test_extrasAdditional extras to install for the test and coverage environments.
test_deps_additionalAdditional test dependencies (typically with mxdev source checkouts).
test_environment_variablesEnvironment variables for test and coverage environments.
constraints_filesDictionary of pip constraints file URLs keyed by Plone version. This allows specifying different constraints for each Plone version in the test matrix.
Example:
[tox] constraints_files = { "6.1" = "https://dist.plone.org/release/6.1-latest/constraints.txt", "6.0" = "https://dist.plone.org/release/6.0-latest/constraints.txt", } ```use_test_matrixBoolean. When
true(the default), generates test environments for all combinations of Plone versions and Python versions defined intest_matrix. Set tofalseto disable the test matrix and use a single test environment instead.test_matrixDictionary defining which Python versions to test against each Plone version. Only used when
use_test_matrixistrue.Default:
[tox] test_matrix = { "6.2" = ["3.14", "3.13", "3.12", "3.11", "3.10"], "6.1" = ["3.13", "3.12", "3.11", "3.10"], "6.0" = ["3.13", "3.12", "3.11", "3.10"], } ```skip_test_extraBoolean. Set to
truefor packages that do not define atestextra in their packaging metadata. When enabled, the test environments will not attempt to install[test]extras.use_mxdevSet to
trueto enable mxdev source checkout support.envlist_linesAdditional tox environment names to include.
config_linesExtra top-level tox configuration.
testenv_optionsOverride default testenv options (e.g., basepython).
extra_linesAdditional tox configuration sections.