-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
165 lines (147 loc) · 4.55 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Generated from:
# https://github.com/plone/meta/tree/master/config/default
# See the inline comments on how to expand/tweak this configuration file
[tool.towncrier]
directory = "news/"
filename = "CHANGES.md"
start_string = "<!-- towncrier release notes start -->\n"
title_format = "## {version} ({project_date})"
template = "news/.changelog_template.jinja"
underlines = ["", "", ""]
issue_format = "[#{issue}](https://github.com/plonegovbr/plonegovbr.portal/issues/{issue})"
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes:"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "New features:"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug fixes:"
showcontent = true
[[tool.towncrier.type]]
directory = "internal"
name = "Internal:"
showcontent = true
[[tool.towncrier.type]]
directory = "documentation"
name = "Documentation:"
showcontent = true
[[tool.towncrier.type]]
directory = "tests"
name = "Tests"
showcontent = true
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# towncrier_extra_lines = """
# extra_configuration
# """
##
[tool.isort]
profile = "plone"
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# isort_extra_lines = """
# extra_configuration
# """
##
[tool.black]
target-version = ["py38"]
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# black_extra_lines = """
# extra_configuration
# """
##
[tool.codespell]
ignore-words-list = "discreet,vew"
skip = "*.po,*"
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# codespell_ignores = "foo,bar"
# codespell_skip = "*.po,*.map,package-lock.json"
##
[tool.dependencychecker]
Zope = [
# Zope own provided namespaces
'App', 'OFS', 'Products.Five', 'Products.OFSP', 'Products.PageTemplates',
'Products.SiteAccess', 'Shared', 'Testing', 'ZPublisher', 'ZTUtils',
'Zope2', 'webdav', 'zmi',
# ExtensionClass own provided namespaces
'ExtensionClass', 'ComputedAttribute', 'MethodObject',
# Zope dependencies
'AccessControl', 'Acquisition', 'AuthEncoding', 'beautifulsoup4', 'BTrees',
'cffi', 'Chameleon', 'DateTime', 'DocumentTemplate',
'MultiMapping', 'multipart', 'PasteDeploy', 'Persistence', 'persistent',
'pycparser', 'python-gettext', 'pytz', 'RestrictedPython', 'roman',
'soupsieve', 'transaction', 'waitress', 'WebOb', 'WebTest', 'WSGIProxy2',
'z3c.pt', 'zc.lockfile', 'ZConfig', 'zExceptions', 'ZODB', 'zodbpickle',
'zope.annotation', 'zope.browser', 'zope.browsermenu', 'zope.browserpage',
'zope.browserresource', 'zope.cachedescriptors', 'zope.component',
'zope.configuration', 'zope.container', 'zope.contentprovider',
'zope.contenttype', 'zope.datetime', 'zope.deferredimport',
'zope.deprecation', 'zope.dottedname', 'zope.event', 'zope.exceptions',
'zope.filerepresentation', 'zope.globalrequest', 'zope.hookable',
'zope.i18n', 'zope.i18nmessageid', 'zope.interface', 'zope.lifecycleevent',
'zope.location', 'zope.pagetemplate', 'zope.processlifetime', 'zope.proxy',
'zope.ptresource', 'zope.publisher', 'zope.schema', 'zope.security',
'zope.sequencesort', 'zope.site', 'zope.size', 'zope.structuredtext',
'zope.tal', 'zope.tales', 'zope.testbrowser', 'zope.testing',
'zope.traversing', 'zope.viewlet'
]
'Products.CMFCore' = [
'docutils', 'five.localsitemanager', 'Missing', 'Products.BTreeFolder2',
'Products.GenericSetup', 'Products.MailHost', 'Products.PythonScripts',
'Products.StandardCacheManagers', 'Products.ZCatalog', 'Record',
'zope.sendmail', 'Zope'
]
'plone.base' = [
'plone.batching', 'plone.registry', 'plone.schema','plone.z3cform',
'Products.CMFCore', 'Products.CMFDynamicViewFTI',
]
python-dateutil = ['dateutil']
ignore-packages = ['plone.volto', 'zestreleaser.towncrier', 'zest.releaser', 'pytest', 'pytest-cov', 'pytest-plone']
Plone = ['Products.CMFPlone', 'Products.CMFCore', 'Products.GenericSetup']
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# dependencies_ignores = "['zestreleaser.towncrier']"
# dependencies_mappings = [
# "gitpython = ['git']",
# "pygithub = ['github']",
# ]
# """
##
[tool.check-manifest]
ignore = [
".editorconfig",
".meta.toml",
".pre-commit-config.yaml",
"tox.ini",
".flake8",
"mx.ini",
"news/*",
"constraints-mxdev.txt",
"requirements-mxdev.txt",
]
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# check_manifest_ignores = """
# "*.map.js",
# "*.pyc",
# """
##
##
# Add extra configuration options in .meta.toml:
# [pyproject]
# extra_lines = """
# _your own configuration lines_
# """
##