-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
50 lines (43 loc) · 1.55 KB
/
Copy pathpyproject.toml
File metadata and controls
50 lines (43 loc) · 1.55 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "mkdocs-likec4"
description = "LikeC4 for MkDocs"
version = "1.2.2"
authors = [{ name = "Jonas Häusler", email = "jonas.haeusler@doubleslash.de" }]
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"mkdocs>=1.6",
"pyjson5>=2.0",
]
[tool.setuptools.packages.find]
include = ["mkdocs_likec4*"]
[tool.setuptools.package-data]
mkdocs_likec4 = ["assets/*.js"]
[project.entry-points."mkdocs.plugins"]
"likec4" = "mkdocs_likec4.plugin:LikeC4Plugin"
[tool.commitizen]
name = "cz_customize"
tag_format = "v$version"
version_provider = "uv"
version_files = [
"pyproject.toml:version"
]
[tool.commitizen.customize]
bump_pattern = '^(feat|fix|ci|build|perf|refactor|chore)'
bump_map = { feat = "MINOR", fix = "PATCH", ci = "PATCH", build = "PATCH", perf = "PATCH", refactor = "PATCH", 'chore' = "PATCH" }
schema_pattern = '^(build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump|chore)(\(\S+\))?\:?\s.*'
changelog_pattern = '^(feat|fix|perf|refactor|build|ci|chore)(\(.+\))?!?:'
commit_parser = '^(?P<change_type>feat|fix|perf|refactor|build|ci|chore)(\((?P<scope>[^()\r\n]+)\))?!?:\s(?P<message>.+)'
change_type_map = { feat = "Features", fix = "Bug Fixes", perf = "Performance", refactor = "Refactor", build = "Build", ci = "CI", chore = "Chore" }
change_type_order = ["Features", "Bug Fixes", "Performance", "Refactor", "Build", "CI", "Chore"]
[dependency-groups]
dev = [
"commitizen>=3.31.0",
"ruff>=0.14.11",
]
test = [
"pytest>=8.0",
]