forked from PyO3/pyo3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (59 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
75 lines (59 loc) · 1.58 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
[project]
requires-python = ">=3.7"
name = "pyo3"
dynamic = ["version"]
[tool.ruff.per-file-target-version]
# experimental-inspect generates .pyi files that use positional-only `/` marker
"*.pyi" = "py38"
# uses `match` statement
"pytests/tests/test_enums_match.py" = "py310"
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = ["F403"]
[tool.towncrier]
filename = "CHANGELOG.md"
version = "0.27.2"
start_string = "<!-- towncrier release notes start -->\n"
template = ".towncrier.template.md"
title_format = "## [{version}] - {project_date}"
issue_format = "[#{issue}](https://github.com/PyO3/pyo3/pull/{issue})" # Note PyO3 shows pulls, not issues, in the CHANGELOG
underlines = ["", "", ""]
directory = "newsfragments"
[tool.towncrier.fragment.packaging]
name = "Packaging"
[tool.towncrier.fragment.added]
name = "Added"
[tool.towncrier.fragment.changed]
name = "Changed"
[tool.towncrier.fragment.removed]
name = "Removed"
[tool.towncrier.fragment.fixed]
name = "Fixed"
[tool.rumdl]
disable = [
# TODO: what to do about inline HTML, probably allow?
"MD033",
# TODO: {{#PYO3_DOCS_URL}} placeholder confuses rumdl, change syntax perhaps?
"MD051"
]
exclude = [
# just has an include to the top-level files
"guide/src/changelog.md",
"guide/src/contributing.md"
]
[tool.rumdl.per-file-ignores]
"guide/pyclass-parameters.md" = ["MD041"]
[tool.rumdl.MD004]
style = "dash"
[tool.rumdl.MD013]
line_length = 0
code_blocks = false
tables = false
headings = false
reflow = true
reflow_mode = "sentence-per-line"
[tool.uv]
package = false
[dependency-groups]
dev = [
"rumdl"
]