-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
359 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,6 +25,7 @@ | |
"pyproject.toml", | ||
"README.md", | ||
"requirements.txt", | ||
"scripts/create_site.py", | ||
"setup.py", | ||
"tox.ini", | ||
] | ||
|
@@ -88,6 +89,7 @@ def context(cookieplone_root) -> dict: | |
"author": "Plone Collective", | ||
"email": "[email protected]", | ||
"feature_headless": "1", | ||
"__backend_addon_git_initialize": "1", | ||
"__cookieplone_repository_path": f"{cookieplone_root}", | ||
} | ||
|
||
|
@@ -100,6 +102,14 @@ def context_no_headless(context) -> dict: | |
new_context["feature_headless"] = "0" | ||
return new_context | ||
|
||
@pytest.fixture(scope="session") | ||
def context_no_git(context) -> dict: | ||
"""Cookiecutter context without Git repository.""" | ||
new_context = deepcopy(context) | ||
new_context["python_package_name"] = "collective.addonnogit" | ||
new_context["__backend_addon_git_initialize"] = "0" | ||
return new_context | ||
|
||
|
||
@pytest.fixture(scope="session") | ||
def bad_context() -> dict: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/config/default | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
[meta] | ||
template = "default" | ||
commit-id = "25d2fa7f" | ||
commit-id = "71d0218b" | ||
|
||
[pyproject] | ||
codespell_skip = "*.min.js" | ||
codespell_ignores = "vew" | ||
dependencies_ignores = "['plone.volto', 'zestreleaser.towncrier', 'zest.releaser', 'pytest', 'pytest-cov', 'pytest-plone']" | ||
dependencies_mappings = [ | ||
"Plone = ['Products.CMFPlone', 'Products.CMFCore', 'Products.GenericSetup']", | ||
] | ||
"pytest-plone = ['pytest', 'plone.testing', 'plone.app.testing']", | ||
] | ||
dependencies_ignores = "['plone.app.iterate', 'plone.app.upgrade', 'plone.volto', 'zestreleaser.towncrier', 'zest.releaser', 'pytest-cov']" | ||
|
||
[tox] | ||
use_mxdev = true | ||
test_runner = "pytest" | ||
test_path = "/tests" | ||
use_mxdev = true | ||
test_deps_additional = "" | ||
|
||
[github] | ||
py_versions = "[\"3.12\", \"3.11\", \"3.10\"]" | ||
jobs = [ | ||
"qa", | ||
"test", | ||
"coverage", | ||
"dependencies", | ||
"release_ready", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.