-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (101 loc) · 2.74 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (101 loc) · 2.74 KB
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
# Generated with zope.meta (https://zopemeta.readthedocs.io/) from:
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/pure-python
[build-system]
requires = [
"setuptools >= 78.1.1,< 82",
"wheel",
]
build-backend = "setuptools.build_meta"
[project]
name = "RestrictedPython"
version = "8.4.dev0"
description = "RestrictedPython is a defined subset of the Python language which allows to provide a program input into a trusted environment."
license = "ZPL-2.1"
classifiers = [
"Development Status :: 6 - Mature",
"Programming Language :: Python",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Security",
"Typing :: Typed",
]
dynamic = ["readme"]
requires-python = ">=3.10, <3.16"
authors = [
{name = "Zope Foundation and contributors",email = "zope-dev@zope.dev"},
]
maintainers = [
{name = "Plone Foundation and contributors",email = "zope-dev@zope.dev"},
]
keywords = [
"restricted",
"execution",
"security",
"untrusted",
"code",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-mock",
]
docs = [
"Sphinx",
"furo",
]
typecheck = [
"mypy",
]
[project.urls]
Documentation = "https://restrictedpython.readthedocs.io/"
Issues = "https://github.com/zopefoundation/RestrictedPython/issues"
Source = "https://github.com/zopefoundation/RestrictedPython"
Changelog = "https://github.com/zopefoundation/RestrictedPython/blob/master/CHANGES.rst"
[tool.coverage.run]
branch = true
source = ["RestrictedPython"]
[tool.coverage.report]
fail_under = 97.1
precision = 2
ignore_errors = true
show_missing = true
exclude_lines = [
"pragma: no cover",
"pragma: nocover",
"except ImportError:",
"raise NotImplementedError",
"if __name__ == '__main__':",
"self.fail",
"raise AssertionError",
"raise unittest.Skip",
]
[tool.coverage.html]
directory = "parts/htmlcov"
[tool.setuptools.dynamic]
readme = {file = ["README.rst", "CHANGES.rst"]}
[tool.mypy]
mypy_path = "src"
packages = ["RestrictedPython"]
python_version = "3.10"
warn_unreachable = true
implicit_reexport = false
strict = true
[[tool.mypy.overrides]]
module = ["DateTime"]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["RestrictedPython.Guards"]
check_untyped_defs = false
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = ["RestrictedPython.transformer"]
warn_no_return = false
[tool.zest-releaser]
create-wheel = false
upload-pypi = false