-
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.
Config with default template 721299ce (#1)
* black * Configuring with plone/meta * Configuring with plone/meta * mxdev * ignore * Configuring with plone/meta * cleanup * setup * Preparing release 1.0.0rc1 * Back to development: 1.0.0rc2 * fix manifest * fix manifest * fix manifest * Preparing release 1.0.0rc2 * Back to development: 1.0.0rc3
- Loading branch information
Showing
19 changed files
with
654 additions
and
372 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 |
---|---|---|
@@ -1,15 +1,56 @@ | ||
# 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 | ||
|
||
|
||
[*] | ||
indent_style = space | ||
# Default settings 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}] | ||
[*.{py,cfg,ini}] | ||
# 4 space indentation | ||
indent_size = 4 | ||
|
||
[{*.html,*.dtml,*.pt,*.zpt,*.xml,*.zcml,*.js}] | ||
[*.{yml,zpt,pt,dtml,zcml,html,xml}] | ||
# 2 space indentation | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}] | ||
# 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,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
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,40 +1,59 @@ | ||
.coverage | ||
.coverage.* | ||
# 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 | ||
*.log | ||
*.pyc | ||
*.pyo | ||
|
||
# translation related | ||
*.mo | ||
*.py? | ||
*.swp | ||
|
||
# tools related | ||
build/ | ||
.coverage | ||
.*project | ||
# dirs | ||
/.settings/ | ||
coverage.xml | ||
dist/ | ||
docs/_build | ||
__pycache__/ | ||
.tox | ||
.vscode/ | ||
node_modules/ | ||
|
||
# venv / buildout related | ||
bin/ | ||
buildout-cache/ | ||
develop-eggs/ | ||
eggs/ | ||
htmlcov/ | ||
.eggs/ | ||
etc/ | ||
.installed.cfg | ||
include/ | ||
lib/ | ||
local/ | ||
node_modules/ | ||
lib64 | ||
.mr.developer.cfg | ||
parts/ | ||
dist/* | ||
test.plone_addon/ | ||
pyvenv.cfg | ||
var/ | ||
# files | ||
.installed.cfg | ||
.mr.developer.cfg | ||
coverage.xml | ||
lib64 | ||
local.cfg | ||
log.html | ||
output.xml | ||
pip-selfcheck.json | ||
pyvenv.cfg | ||
report.html | ||
.vscode/ | ||
.tox/ | ||
reports/ | ||
venv/ | ||
# excludes | ||
|
||
# mxdev | ||
/instance/ | ||
/.make-sentinels/ | ||
/*-mxdev.txt | ||
/reports/ | ||
/sources/ | ||
/venv/ | ||
.installed.txt | ||
|
||
forest.dot | ||
forest.json | ||
.python-version | ||
|
||
## | ||
# 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,32 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/main/config/default | ||
# See the inline comments on how to expand/tweak this configuration file | ||
[tox] | ||
use_mxdev = true | ||
config_lines = """ | ||
[gh-actions] | ||
python = | ||
3.8: py38 | ||
3.9: py39 | ||
3.10: py310 | ||
3.11: py311 | ||
3.12: py312 | ||
""" | ||
|
||
[gitignore] | ||
extra_lines = """ | ||
forest.dot | ||
forest.json | ||
.python-version | ||
""" | ||
|
||
[github] | ||
jobs = [ | ||
"qa", | ||
"test", | ||
"release_ready", | ||
] | ||
|
||
[meta] | ||
template = "default" | ||
commit-id = "721299ce" |
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,94 @@ | ||
# 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.2 | ||
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: 24.4.2 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/collective/zpretty | ||
rev: 3.1.0 | ||
hooks: | ||
- id: zpretty | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [pre_commit] | ||
# zpretty_extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.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.2.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_ | ||
# """ | ||
## |
Oops, something went wrong.