-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modernize pas.plugins.oidc * Update plone/meta * Ignore B404 issue on update.py * Add bandit to pre-commit * GHA: Use configuration from pyproject.toml * Update bandit configuration * GHA: Remove bandit.yml, as the same tests now run on meta.yml * Tests: Use keycloak container during tests * Update MANIFEST.in
- Loading branch information
Showing
84 changed files
with
5,565 additions
and
1,850 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,54 @@ | ||
[*] | ||
indent_style = space | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/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}] | ||
[*.{py,cfg,ini}] | ||
# 4 space indentation | ||
indent_size = 4 | ||
|
||
[{*.html,*.dtml,*.pt,*.zpt,*.xml,*.zcml,*.js}] | ||
[*.{yml,zpt,pt,dtml,zcml}] | ||
# 2 space indentation | ||
indent_size = 2 | ||
|
||
[Makefile] | ||
[*.{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,22 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/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 was deleted.
Oops, something went wrong.
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,66 @@ | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/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@1.0.0 | ||
test: | ||
uses: plone/meta/.github/workflows/test.yml@1.0.0 | ||
coverage: | ||
uses: plone/meta/.github/workflows/coverage.yml@1.0.0 | ||
dependencies: | ||
uses: plone/meta/.github/workflows/dependencies.yml@1.0.0 | ||
release_ready: | ||
uses: plone/meta/.github/workflows/release_ready.yml@1.0.0 | ||
|
||
## | ||
# 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 was deleted.
Oops, something went wrong.
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,35 +1,56 @@ | ||
.coverage | ||
coverage.json | ||
# Generated from: | ||
# https://github.com/plone/meta/tree/master/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 | ||
# dirs | ||
|
||
# tools related | ||
build/ | ||
.coverage | ||
.*project | ||
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/ | ||
parts/ | ||
dist/* | ||
test.plone_addon/ | ||
var/ | ||
# files | ||
.installed.cfg | ||
.mr.developer.cfg | ||
lib64 | ||
log.html | ||
output.xml | ||
pip-selfcheck.json | ||
report.html | ||
.vscode/ | ||
.idea/ | ||
.tox/ | ||
.mr.developer.cfg | ||
parts/ | ||
pyvenv.cfg | ||
reports/ | ||
# excludes | ||
var/ | ||
|
||
# mxdev | ||
/instance/ | ||
/.make-sentinels/ | ||
/*-mxdev.txt | ||
/reports/ | ||
/sources/ | ||
/venv/ | ||
.installed.txt | ||
|
||
requirements-mxdev.txt | ||
|
||
## | ||
# Add extra configuration options in .meta.toml: | ||
# [gitignore] | ||
# extra_lines = """ | ||
# _your own configuration lines_ | ||
# """ | ||
## |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.