Skip to content

Commit d3d1199

Browse files
authoredMar 9, 2025··
Modernize CI (onboard to plone/meta) (#1883)
* Configuring with plone.meta * plone.meta tweaks, convert to markdown * Configuring with plone.meta * Update CI & Makefile * cleanup * Try to fix uncommitted docs check * fix rtd * Fix make test dependencies * Update examples * disable dependencies check * build mo files for tests * Don't drop old Pythons just yet * lint * Fix plone.rest version for 5.2 * Fix compiling mo files for test * Update i18n script * nitpick
1 parent a7d1200 commit d3d1199

File tree

173 files changed

+5706
-5429
lines changed

Some content is hidden

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

173 files changed

+5706
-5429
lines changed
 

‎.editorconfig

+54
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,58 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/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.
113
root = true
214

15+
16+
[*]
17+
# Default settings for all files.
18+
# Unix-style newlines with a newline ending every file
19+
end_of_line = lf
20+
insert_final_newline = true
21+
trim_trailing_whitespace = true
22+
# Set default charset
23+
charset = utf-8
24+
# Indent style default
25+
indent_style = space
26+
# Max Line Length - a hard line wrap, should be disabled
27+
max_line_length = off
28+
29+
[*.{py,cfg,ini}]
30+
# 4 space indentation
31+
indent_size = 4
32+
33+
[*.{yml,zpt,pt,dtml,zcml,html,xml}]
34+
# 2 space indentation
35+
indent_size = 2
36+
37+
[*.{json,jsonl,js,jsx,ts,tsx,css,less,scss}]
38+
# Frontend development
39+
# 2 space indentation
40+
indent_size = 2
41+
max_line_length = 80
42+
43+
[{Makefile,.gitmodules}]
44+
# Tab indentation (no size specified, but view as 4 spaces)
45+
indent_style = tab
46+
indent_size = unset
47+
tab_width = unset
48+
349
[*.resp]
450
trim_trailing_whitespace = false
51+
52+
##
53+
# Add extra configuration options in .meta.toml:
54+
# [editorconfig]
55+
# extra_lines = """
56+
# _your own configuration lines_
57+
# """
58+
##

‎.flake8

+20-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
1+
# Generated from:
2+
# https://github.com/plone/meta/tree/main/src/plone/meta/default
3+
# See the inline comments on how to expand/tweak this configuration file
14
[flake8]
2-
# Recommend matching the black line length (default 88),
3-
# rather than using the flake8 default of 79:
4-
max-line-length = 100000
5-
extend-ignore =
6-
# See https://github.com/PyCQA/pycodestyle/issues/373
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[:])
712
E203,
13+
# black takes care of spaces after commas
14+
E231,
815
per-file-ignores =
916
src/plone/restapi/bbb.py:F401
17+
18+
##
19+
# Add extra configuration options in .meta.toml:
20+
# [flake8]
21+
# extra_lines = """
22+
# _your own configuration lines_
23+
# """
24+
##

0 commit comments

Comments
 (0)