Debian Codegraph @

tests/data/encoding_test_pyproject.toml

raw
1 [project]
2 name = "pythonproject-test"
3 version = "0.4.1"
4 description = "Add your description here"
5 readme = "README.md"
6 requires-python = ">=3.12"
7 dependencies = []
8
9
10 [tool.commitizen]
11 name = "cz_customize"
12 tag_format = "v$version"
13 version_scheme = "pep440"
14 version_provider = "uv"
15 update_changelog_on_bump = true
16 changelog_start_rev = "v1.1.0"
17
18 [tool.commitizen.customize]
19 message_template = "{{ change_type }}{% if scope != 'none' %}({{ scope }}){% endif %}: {{ message }}"
20 commit_parser = '^(?P<change_type>feat|fix|refactor|test|perf|misc):\s(?P<message>.*)'
21 schema_pattern = '(feat|fix|refactor|test|perf|misc)(\((api|core)\))?:\s(.{3,})'
22 bump_pattern = "^(feat|fix|refactor|test|perf|misc)"
23 change_type_map = { "feat" = "Новое", "fix" = "Исправление" }
24
25 [[tool.commitizen.customize.questions]]
26 name = "change_type"
27 type = "list"
28 message = "Выберите тип изменений"
29 choices = [
30 { value = "feat", name = "feat: Новая функциональность" },
31 { value = "fix", name = "fix: Исправление" },
32 { value = "refactor", name = "refactor: Рефакторинг" },
33 { value = "test", name = "test: Изменение авто-тестов" },
34 { value = "perf", name = "perf: Оптимизации" },
35 { value = "misc", name = "misc: Другое" },
36 ]