Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
93 lines (83 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
93 lines (83 loc) · 2.22 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
[build-system]
requires = [
"setuptools>=80",
"setuptools_scm>=8",
"Cython>=0.20",
"pybind11>=2.12",
"ninja; sys_platform != 'Windows'",
"cmake (>=3.18,<4.0.0)",
]
build-backend = "setuptools.build_meta"
[project]
name = "pyre2"
description = "Python wrapper for Google RE2 library using Cython"
readme = { file = "README.rst", content-type = "text/x-rst" }
requires-python = ">=3.10"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
dynamic = ["version"]
classifiers = [
"Programming Language :: Cython",
"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 :: 3.15",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
]
authors = [
{ name = "Andreas van Cranenburgh", email = "andreas@unstable.nl" },
]
maintainers = [
{ name = "Steve Arnold", email = "nerdboy@gentoo.org" },
]
[project.urls]
Homepage = "https://github.com/andreasvc/pyre2"
[project.optional-dependencies]
doc = [
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-apidoc",
]
test = ["pytest"]
perf = ["regex"]
[tool.setuptools]
packages = []
[tool.setuptools_scm]
[tool.check-manifest]
ignore = [
".gitattributes",
".gitchangelog.rc",
".gitignore",
"conda/**",
]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
doctest_optionflags = [
"ELLIPSIS",
"NORMALIZE_WHITESPACE",
]
[tool.cython-lint]
max-line-length = 110
ignore = [
# Continuation lines have one extra level of indent which pycodestyle
# considers under-indented relative to the opening delimiter.
"E128",
# The public ``I`` flag intentionally mirrors the standard library's
# ``re.I`` compatibility alias.
"E741",
]
[tool.ruff.lint]
ignore = [
# Preserve %-formatting in legacy tests, especially regex strings where
# automated conversion can change formatting or escaping semantics.
"UP031",
# Some legacy tests intentionally catch any parser or test-harness error
# so that they can inspect or report it.
"BLE001",
]