Skip to content

Commit 750953b

Browse files
committed
init
0 parents  commit 750953b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2185
-0
lines changed

.editorconfig

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/master/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
#
5+
# EditorConfig Configuration file, for more details see:
6+
# http://EditorConfig.org
7+
# EditorConfig is a convention description, that could be interpreted
8+
# by multiple editors to enforce common coding conventions for specific
9+
# file types
10+
11+
# top-most EditorConfig file:
12+
# Will ignore other EditorConfig files in Home directory or upper tree level.
13+
root = true
14+
15+
16+
[*] # For All Files
17+
# Unix-style newlines with a newline ending every file
18+
end_of_line = lf
19+
insert_final_newline = true
20+
trim_trailing_whitespace = true
21+
# Set default charset
22+
charset = utf-8
23+
# Indent style default
24+
indent_style = space
25+
# Max Line Length - a hard line wrap, should be disabled
26+
max_line_length = off
27+
28+
[*.{py,cfg,ini}]
29+
# 4 space indentation
30+
indent_size = 4
31+
32+
[*.{yml,zpt,pt,dtml,zcml}]
33+
# 2 space indentation
34+
indent_size = 2
35+
36+
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss,html}] # Frontend development
37+
# 2 space indentation
38+
indent_size = 2
39+
max_line_length = 80
40+
41+
[{Makefile,.gitmodules}]
42+
# Tab indentation (no size specified, but view as 4 spaces)
43+
indent_style = tab
44+
indent_size = unset
45+
tab_width = unset
46+
47+
48+
##
49+
# Add extra configuration options in .meta.toml:
50+
# [editorconfig]
51+
# extra_lines = """
52+
# _your own configuration lines_
53+
# """
54+
##

.flake8

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/master/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
[flake8]
5+
doctests = 1
6+
ignore =
7+
# black takes care of line length
8+
E501,
9+
# black takes care of where to break lines
10+
W503,
11+
# black takes care of spaces within slicing (list[:])
12+
E203,
13+
# black takes care of spaces after commas
14+
E231,
15+
16+
##
17+
# Add extra configuration options in .meta.toml:
18+
# [flake8]
19+
# extra_lines = """
20+
# _your own configuration lines_
21+
# """
22+
##

.github/workflows/meta.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/main/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
name: Meta
5+
on:
6+
push:
7+
branches:
8+
- master
9+
- main
10+
pull_request:
11+
branches:
12+
- master
13+
- main
14+
workflow_dispatch:
15+
16+
##
17+
# To set environment variables for all jobs, add in .meta.toml:
18+
# [github]
19+
# env = """
20+
# debug: 1
21+
# image-name: 'org/image'
22+
# image-tag: 'latest'
23+
# """
24+
##
25+
26+
jobs:
27+
qa:
28+
uses: plone/meta/.github/workflows/qa.yml@main
29+
test:
30+
uses: plone/meta/.github/workflows/test.yml@main
31+
with:
32+
33+
py-versions: '["3.12", "3.11", "3.10"]'
34+
coverage:
35+
uses: plone/meta/.github/workflows/coverage.yml@main
36+
dependencies:
37+
uses: plone/meta/.github/workflows/dependencies.yml@main
38+
release_ready:
39+
uses: plone/meta/.github/workflows/release_ready.yml@main
40+
41+
##
42+
# To modify the list of default jobs being created add in .meta.toml:
43+
# [github]
44+
# jobs = [
45+
# "qa",
46+
# "test",
47+
# "coverage",
48+
# "dependencies",
49+
# "release_ready",
50+
# "circular",
51+
# ]
52+
##
53+
54+
##
55+
# To request that some OS level dependencies get installed
56+
# when running tests/coverage jobs, add in .meta.toml:
57+
# [github]
58+
# os_dependencies = "git libxml2 libxslt"
59+
##
60+
61+
##
62+
# To test against a specific matrix of python versions
63+
# when running tests jobs, add in .meta.toml:
64+
# [github]
65+
# py_versions = "['3.12', '3.11']"
66+
##
67+
68+
69+
##
70+
# Specify additional jobs in .meta.toml:
71+
# [github]
72+
# extra_lines = """
73+
# another:
74+
# uses: org/repo/.github/workflows/file.yml@main
75+
# """
76+
##

.gitignore

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/master/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
# python related
5+
*.egg-info
6+
*.pyc
7+
*.pyo
8+
9+
# tools related
10+
build/
11+
.coverage
12+
coverage.xml
13+
dist/
14+
docs/_build
15+
__pycache__/
16+
.tox
17+
.vscode/
18+
node_modules/
19+
20+
# venv / buildout related
21+
bin/
22+
develop-eggs/
23+
eggs/
24+
.eggs/
25+
etc/
26+
.installed.cfg
27+
include/
28+
lib/
29+
lib64
30+
.mr.developer.cfg
31+
parts/
32+
pyvenv.cfg
33+
var/
34+
35+
# mxdev
36+
/instance/
37+
/.make-sentinels/
38+
/*-mxdev.txt
39+
/reports/
40+
/sources/
41+
/venv/
42+
.installed.txt
43+
.lock
44+
45+
##
46+
# Add extra configuration options in .meta.toml:
47+
# [gitignore]
48+
# extra_lines = """
49+
# _your own configuration lines_
50+
# """
51+
##

.meta.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/main/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
[meta]
5+
template = "default"
6+
commit-id = "71d0218b"
7+
8+
[pyproject]
9+
codespell_skip = "*.min.js"
10+
codespell_ignores = "vew"
11+
dependencies_mappings = [
12+
"pytest-plone = ['pytest', 'plone.testing', 'plone.app.testing']",
13+
]
14+
dependencies_ignores = "['plone.app.iterate', 'plone.app.upgrade', 'plone.volto', 'zestreleaser.towncrier', 'zest.releaser', 'pytest-cov']"
15+
16+
[gitignore]
17+
extra_lines = """
18+
.lock
19+
"""
20+
21+
[tox]
22+
test_runner = "pytest"
23+
test_path = "/tests"
24+
use_mxdev = true
25+
test_deps_additional = ""
26+
27+
[github]
28+
py_versions = "[\"3.12\", \"3.11\", \"3.10\"]"
29+
jobs = [
30+
"qa",
31+
"test",
32+
"coverage",
33+
"dependencies",
34+
"release_ready",
35+
]

.mrbob.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[variables]
2+
package.dottedname = redturtle.pasldap
3+
package.browserlayer = IBrowserLayer
4+

.pre-commit-config.yaml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/master/config/default
3+
# See the inline comments on how to expand/tweak this configuration file
4+
ci:
5+
autofix_prs: false
6+
autoupdate_schedule: monthly
7+
8+
repos:
9+
- repo: https://github.com/asottile/pyupgrade
10+
rev: v3.14.0
11+
hooks:
12+
- id: pyupgrade
13+
args: [--py38-plus]
14+
- repo: https://github.com/pycqa/isort
15+
rev: 5.12.0
16+
hooks:
17+
- id: isort
18+
- repo: https://github.com/psf/black
19+
rev: 23.9.1
20+
hooks:
21+
- id: black
22+
- repo: https://github.com/collective/zpretty
23+
rev: 3.1.0
24+
hooks:
25+
- id: zpretty
26+
27+
##
28+
# Add extra configuration options in .meta.toml:
29+
# [pre_commit]
30+
# zpretty_extra_lines = """
31+
# _your own configuration lines_
32+
# """
33+
##
34+
- repo: https://github.com/PyCQA/flake8
35+
rev: 6.1.0
36+
hooks:
37+
- id: flake8
38+
39+
##
40+
# Add extra configuration options in .meta.toml:
41+
# [pre_commit]
42+
# flake8_extra_lines = """
43+
# _your own configuration lines_
44+
# """
45+
##
46+
- repo: https://github.com/codespell-project/codespell
47+
rev: v2.2.6
48+
hooks:
49+
- id: codespell
50+
additional_dependencies:
51+
- tomli
52+
53+
##
54+
# Add extra configuration options in .meta.toml:
55+
# [pre_commit]
56+
# codespell_extra_lines = """
57+
# _your own configuration lines_
58+
# """
59+
##
60+
- repo: https://github.com/mgedmin/check-manifest
61+
rev: "0.49"
62+
hooks:
63+
- id: check-manifest
64+
- repo: https://github.com/regebro/pyroma
65+
rev: "4.2"
66+
hooks:
67+
- id: pyroma
68+
- repo: https://github.com/mgedmin/check-python-versions
69+
rev: "0.21.3"
70+
hooks:
71+
- id: check-python-versions
72+
args: ['--only', 'setup.py,pyproject.toml']
73+
- repo: https://github.com/collective/i18ndude
74+
rev: "6.1.0"
75+
hooks:
76+
- id: i18ndude
77+
78+
79+
##
80+
# Add extra configuration options in .meta.toml:
81+
# [pre_commit]
82+
# i18ndude_extra_lines = """
83+
# _your own configuration lines_
84+
# """
85+
##
86+
87+
88+
##
89+
# Add extra configuration options in .meta.toml:
90+
# [pre_commit]
91+
# extra_lines = """
92+
# _your own configuration lines_
93+
# """
94+
##

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
<!--
4+
You should *NOT* be adding new change log entries to this file.
5+
You should create a file in the news directory instead.
6+
For helpful instructions, please see:
7+
https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst
8+
-->
9+
10+
<!-- towncrier release notes start -->

CONTRIBUTORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Contributors
2+
3+
- RedTurtle [[email protected]]

0 commit comments

Comments
 (0)