-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from plone/config-with-default-template-4a20aeff
Config with default template
- Loading branch information
Showing
21 changed files
with
803 additions
and
641 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/config/default | ||
# | ||
# EditorConfig Configuration file, for more details see: | ||
# http://EditorConfig.org | ||
# EditorConfig is a convention description, that could be interpreted | ||
# by multiple editors to enforce common coding conventions for specific | ||
# file types | ||
|
||
# top-most EditorConfig file: | ||
# Will ignore other EditorConfig files in Home directory or upper tree level. | ||
root = true | ||
|
||
|
||
[*] # For All Files | ||
# Unix-style newlines with a newline ending every file | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
# Set default charset | ||
charset = utf-8 | ||
# Indent style default | ||
indent_style = space | ||
# Max Line Length - a hard line wrap, should be disabled | ||
max_line_length = off | ||
|
||
[*.{py,cfg,ini}] | ||
# 4 space indentation | ||
indent_size = 4 | ||
|
||
[*.{yml,zpt,pt,dtml,zcml}] | ||
# 2 space indentation | ||
indent_size = 2 | ||
|
||
[{Makefile,.gitmodules}] | ||
# Tab indentation (no size specified, but view as 4 spaces) | ||
indent_style = tab | ||
indent_size = unset | ||
tab_width = unset |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/config/default | ||
[meta] | ||
template = "default" | ||
commit-id = "3b8337e6" |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/config/default | ||
ci: | ||
autofix_prs: false | ||
autoupdate_schedule: monthly | ||
|
||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.3.1 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py38-plus] | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/collective/zpretty | ||
rev: 3.0.3 | ||
hooks: | ||
- id: zpretty | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.0.0 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.4 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
- repo: https://github.com/mgedmin/check-manifest | ||
rev: "0.49" | ||
hooks: | ||
- id: check-manifest | ||
- repo: https://github.com/regebro/pyroma | ||
rev: "4.2" | ||
hooks: | ||
- id: pyroma |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Update configuration files. | ||
[plone devs] |
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,2 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__import__("pkg_resources").declare_namespace(__name__) |
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 +0,0 @@ | ||
# -*- coding: utf-8 -*- | ||
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,38 +1,51 @@ | ||
<configure | ||
xmlns="http://namespaces.zope.org/zope" | ||
xmlns:zcml="http://namespaces.zope.org/zcml" | ||
xmlns:browser="http://namespaces.zope.org/browser" | ||
i18n_domain="plone"> | ||
|
||
<include package="z3c.caching" file="meta.zcml" /> | ||
<include package="z3c.caching" /> | ||
|
||
<include package="plone.registry" /> | ||
<include package="plone.transformchain" /> | ||
|
||
<!-- Default lookup --> | ||
<adapter factory=".lookup.DefaultRulesetLookup" /> | ||
|
||
<!-- The 'Chain' operation --> | ||
<adapter factory=".operations.Chain" name="plone.caching.operations.chain" /> | ||
<utility component=".operations.Chain" name="plone.caching.operations.chain" /> | ||
|
||
<!-- Intercepts are performed by raising an exception prior to view | ||
xmlns:zcml="http://namespaces.zope.org/zcml" | ||
i18n_domain="plone" | ||
> | ||
|
||
<include | ||
package="z3c.caching" | ||
file="meta.zcml" | ||
/> | ||
<include package="z3c.caching" /> | ||
|
||
<include package="plone.registry" /> | ||
<include package="plone.transformchain" /> | ||
|
||
<!-- Default lookup --> | ||
<adapter factory=".lookup.DefaultRulesetLookup" /> | ||
|
||
<!-- The 'Chain' operation --> | ||
<adapter | ||
factory=".operations.Chain" | ||
name="plone.caching.operations.chain" | ||
/> | ||
<utility | ||
name="plone.caching.operations.chain" | ||
component=".operations.Chain" | ||
/> | ||
|
||
<!-- Intercepts are performed by raising an exception prior to view | ||
invocation. There is a view on this exception which renders the | ||
intercepted response. | ||
--> | ||
<subscriber handler=".hooks.intercept" /> | ||
<browser:page | ||
name="index.html" | ||
for=".hooks.Intercepted" | ||
class=".hooks.InterceptorResponse" | ||
permission="zope2.Public" | ||
/> | ||
|
||
<!-- Mutator: plone.transformchain order 12000 --> | ||
<adapter factory=".hooks.MutatorTransform" name="plone.caching.mutator" /> | ||
|
||
<!-- Mutator for streaming responses --> | ||
<subscriber handler=".hooks.modifyStreamingResponse" /> | ||
<subscriber handler=".hooks.intercept" /> | ||
<browser:page | ||
name="index.html" | ||
for=".hooks.Intercepted" | ||
class=".hooks.InterceptorResponse" | ||
permission="zope2.Public" | ||
/> | ||
|
||
<!-- Mutator: plone.transformchain order 12000 --> | ||
<adapter | ||
factory=".hooks.MutatorTransform" | ||
name="plone.caching.mutator" | ||
/> | ||
|
||
<!-- Mutator for streaming responses --> | ||
<subscriber handler=".hooks.modifyStreamingResponse" /> | ||
|
||
</configure> |
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.