forked from j178/prek
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 2.22 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 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
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "prek"
version = "0.4.4"
description = "A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined."
authors = [{ name = "j178", email = "hi@j178.dev" }]
requires-python = ">=3.8"
keywords = ["pre-commit", "git", "hooks"]
readme = "README.md"
license = "MIT"
license-files = ["LICENSE", "licenses/*"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Rust",
"Topic :: Software Development :: Quality Assurance",
]
[project.urls]
Repository = "https://github.com/j178/prek"
Changelog = "https://github.com/j178/prek/blob/master/CHANGELOG.md"
Releases = "https://github.com/j178/prek/releases"
Homepage = "https://prek.j178.dev/"
[dependency-groups]
dev = ["rooster"]
docs = ["llmstxt-standalone>=0.2.0", "zensical>=0.0.24"]
[tool.uv.sources]
rooster = { git = "https://github.com/j178/rooster", rev = "747d16f" }
[tool.uv.dependency-groups]
dev = { requires-python = ">=3.12" }
docs = { requires-python = ">=3.12" }
[tool.maturin]
bindings = "bin"
manifest-path = "crates/prek/Cargo.toml"
strip = true
python-source = "python"
[tool.rooster]
version-format = "cargo"
version_tag_prefix = "v"
major_labels = [] # We do not use the major version number yet
minor_labels = ["breaking"]
changelog_ignore_labels = ["internal", "ci", "testing"]
changelog_sections.breaking = "Breaking changes"
changelog_sections.enhancement = "Enhancements"
changelog_sections.compatibility = "Enhancements"
changelog_sections.performance = "Performance"
changelog_sections.bug = "Bug fixes"
changelog_sections.documentation = "Documentation"
changelog_sections.__unknown__ = "Other changes"
changelog_contributors = true
version_files = [
"pyproject.toml",
# Replace the `workspace.package.version` field in the Cargo.toml
{ path = "Cargo.toml", format = "cargo", field = "workspace.package.version" },
# Bump versions of dependent crates
{ target = "Cargo.toml", match = "^prek-", version_format = "cargo" },
"README.md",
"docs/installation.md",
"docs/integrations.md",
]
[tool.uv]
package = false