-
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 #11 from collective/outputfilter-and-pattern
Outputfilter and pattern
- Loading branch information
Showing
82 changed files
with
11,444 additions
and
668 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,54 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
# | ||
# 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 | ||
|
||
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss,html}] # Frontend development | ||
# 2 space indentation | ||
indent_size = 2 | ||
max_line_length = 80 | ||
|
||
[{Makefile,.gitmodules}] | ||
# Tab indentation (no size specified, but view as 4 spaces) | ||
indent_style = tab | ||
indent_size = unset | ||
tab_width = unset | ||
|
||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [editorconfig] | ||
# extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## |
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 @@ | ||
module.exports = require("@patternslib/dev/.eslintrc.js"); |
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,22 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
[flake8] | ||
doctests = 1 | ||
ignore = | ||
# black takes care of line length | ||
E501, | ||
# black takes care of where to break lines | ||
W503, | ||
# black takes care of spaces within slicing (list[:]) | ||
E203, | ||
# black takes care of spaces after commas | ||
E231, | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [flake8] | ||
# extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## |
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,64 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
name: Meta | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- main | ||
pull_request: | ||
branches: | ||
- master | ||
- main | ||
workflow_dispatch: | ||
|
||
## | ||
# To set environment variables for all jobs, add in .meta.toml: | ||
# [github] | ||
# env = """ | ||
# debug: 1 | ||
# image-name: 'org/image' | ||
# image-tag: 'latest' | ||
# """ | ||
## | ||
|
||
jobs: | ||
qa: | ||
uses: plone/meta/.github/workflows/qa.yml@main | ||
test: | ||
uses: plone/meta/.github/workflows/test.yml@main | ||
coverage: | ||
uses: plone/meta/.github/workflows/coverage.yml@main | ||
release_ready: | ||
uses: plone/meta/.github/workflows/release_ready.yml@main | ||
|
||
## | ||
# To modify the list of default jobs being created add in .meta.toml: | ||
# [github] | ||
# jobs = [ | ||
# "qa", | ||
# "test", | ||
# "coverage", | ||
# "dependencies", | ||
# "release_ready", | ||
# "circular", | ||
# ] | ||
## | ||
|
||
## | ||
# To request that some OS level dependencies get installed | ||
# when running tests/coverage jobs, add in .meta.toml: | ||
# [github] | ||
# os_dependencies = "git libxml2 libxslt" | ||
## | ||
|
||
|
||
## | ||
# Specify additional jobs in .meta.toml: | ||
# [github] | ||
# extra_lines = """ | ||
# another: | ||
# uses: org/repo/.github/workflows/file.yml@main | ||
# """ | ||
## |
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,62 +1,56 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
|
||
# C extensions | ||
*.so | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
# python related | ||
*.egg-info | ||
*.pyc | ||
*.pyo | ||
|
||
# translation related | ||
*.mo | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
# tools related | ||
build/ | ||
develop-eggs/ | ||
.coverage | ||
.*project | ||
coverage.xml | ||
dist/ | ||
downloads/ | ||
docs/_build | ||
__pycache__/ | ||
.tox | ||
.vscode/ | ||
node_modules/ | ||
|
||
# venv / buildout related | ||
bin/ | ||
develop-eggs/ | ||
eggs/ | ||
.eggs/ | ||
etc/ | ||
.installed.cfg | ||
include/ | ||
lib/ | ||
lib64/ | ||
lib64 | ||
.mr.developer.cfg | ||
parts/ | ||
sdist/ | ||
pyvenv.cfg | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
.DS_Store | ||
local.cfg | ||
|
||
# mxdev | ||
.make-sentinels/ | ||
sources/ | ||
/instance/ | ||
/.make-sentinels/ | ||
/*-mxdev.txt | ||
/reports/ | ||
/sources/ | ||
/venv/ | ||
.installed.txt | ||
|
||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [gitignore] | ||
# extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## |
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,22 @@ | ||
# Generated from: | ||
# 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 = "3d81f019" | ||
|
||
[pyproject] | ||
codespell_skip = "*.css.map,*.map,*.min.js,yarn.lock" | ||
|
||
[pre_commit] | ||
zpretty_extra_lines = """ | ||
args: ['--extend-exclude', 'relatedimages_selection.xml'] | ||
""" | ||
|
||
[github] | ||
jobs = [ | ||
"qa", | ||
"test", | ||
"coverage", | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
ci: | ||
autofix_prs: false | ||
autoupdate_schedule: monthly | ||
|
||
repos: | ||
- repo: https://github.com/asottile/pyupgrade | ||
rev: v3.15.0 | ||
hooks: | ||
- id: pyupgrade | ||
args: [--py38-plus] | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/psf/black | ||
rev: 23.12.1 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/collective/zpretty | ||
rev: 3.1.0 | ||
hooks: | ||
- id: zpretty | ||
args: ['--extend-exclude', 'relatedimages_selection.xml'] | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# zpretty_extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# flake8_extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
additional_dependencies: | ||
- tomli | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# codespell_extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## | ||
- 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 | ||
- repo: https://github.com/mgedmin/check-python-versions | ||
rev: "0.22.0" | ||
hooks: | ||
- id: check-python-versions | ||
args: ['--only', 'setup.py,pyproject.toml'] | ||
- repo: https://github.com/collective/i18ndude | ||
rev: "6.1.0" | ||
hooks: | ||
- id: i18ndude | ||
|
||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# i18ndude_extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## | ||
|
||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## |
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,3 @@ | ||
* | ||
!resources/ | ||
!resources/** |
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 @@ | ||
module.exports = require("@patternslib/dev/.release-it.js"); |
Oops, something went wrong.