Skip to content

Commit 9ac015c

Browse files
Merge pull request #77 from UIUCLibrary/commitizen
build: Support for commitizen added to development
2 parents e041122 + 39d214c commit 9ac015c

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ zip-safe = true
3535
"py.typed"
3636
]
3737

38+
39+
[tool.commitizen]
40+
name = "cz_conventional_commits"
41+
tag_format = "v$version"
42+
version_scheme = "pep440"
43+
version_provider = "pep621"
44+
update_changelog_on_bump = true
45+
major_version_zero = true
3846
[project.scripts]
3947
getmarc = "uiucprescon.getmarc2.__main__:main"
4048

requirements-dev.txt

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# uv pip compile --universal --python 3.9 pyproject.toml requirements/requirements-dev.txt
33
alabaster==0.7.16
44
# via sphinx
5+
argcomplete==3.5.3
6+
# via commitizen
57
astroid==3.3.8
68
# via pylint
79
babel==2.17.0
@@ -23,19 +25,26 @@ cffi==1.17.1
2325
chardet==5.2.0
2426
# via tox
2527
charset-normalizer==3.4.1
26-
# via requests
28+
# via
29+
# commitizen
30+
# requests
2731
colorama==0.4.6
2832
# via
2933
# bandit
3034
# build
35+
# commitizen
3136
# pylint
3237
# pytest
3338
# sphinx
3439
# tox
40+
commitizen==4.4.1
41+
# via -r requirements/requirements-dev.txt
3542
coverage==7.6.12
3643
# via -r requirements/requirements-dev.txt
3744
cryptography==44.0.2
3845
# via paramiko
46+
decli==0.6.2
47+
# via commitizen
3948
dill==0.3.9
4049
# via pylint
4150
distlib==0.3.9
@@ -58,13 +67,16 @@ importlib-metadata==8.6.1 ; python_full_version < '3.10.2'
5867
# via
5968
# uiucprescon-getmarc2 (pyproject.toml)
6069
# build
70+
# commitizen
6171
# sphinx
6272
iniconfig==2.0.0
6373
# via pytest
6474
isort==6.0.1
6575
# via pylint
6676
jinja2==3.1.5
67-
# via sphinx
77+
# via
78+
# commitizen
79+
# sphinx
6880
lxml==5.3.1
6981
# via
7082
# -r requirements/requirements-dev.txt
@@ -86,6 +98,7 @@ mypy-extensions==1.0.0
8698
packaging==24.2
8799
# via
88100
# build
101+
# commitizen
89102
# pyproject-api
90103
# pytest
91104
# sphinx
@@ -105,6 +118,8 @@ pluggy==1.5.0
105118
# via
106119
# pytest
107120
# tox
121+
prompt-toolkit==3.0.50
122+
# via questionary
108123
pycodestyle==2.12.1
109124
# via flake8
110125
pycparser==2.22
@@ -128,7 +143,11 @@ pyproject-hooks==1.2.0
128143
pytest==8.3.5
129144
# via -r requirements/requirements-dev.txt
130145
pyyaml==6.0.2
131-
# via bandit
146+
# via
147+
# bandit
148+
# commitizen
149+
questionary==2.1.0
150+
# via commitizen
132151
requests==2.32.3
133152
# via
134153
# uiucprescon-getmarc2 (pyproject.toml)
@@ -157,6 +176,8 @@ sphinxcontrib-serializinghtml==2.0.0
157176
# via sphinx
158177
stevedore==5.4.1
159178
# via bandit
179+
termcolor==2.5.0
180+
# via commitizen
160181
tomli==2.2.1 ; python_full_version < '3.11'
161182
# via
162183
# build
@@ -168,14 +189,17 @@ tomli==2.2.1 ; python_full_version < '3.11'
168189
# sphinx
169190
# tox
170191
tomlkit==0.13.2
171-
# via pylint
192+
# via
193+
# commitizen
194+
# pylint
172195
tox==4.24.1
173196
# via -r requirements/requirements-dev.txt
174197
types-requests==2.32.0.20250301
175198
# via -r requirements/requirements-dev.txt
176199
typing-extensions==4.12.2
177200
# via
178201
# astroid
202+
# commitizen
179203
# mypy
180204
# pylint
181205
# rich
@@ -186,5 +210,7 @@ urllib3==2.3.0
186210
# types-requests
187211
virtualenv==20.29.2
188212
# via tox
213+
wcwidth==0.2.13
214+
# via prompt-toolkit
189215
zipp==3.21.0 ; python_full_version < '3.10.2'
190216
# via importlib-metadata

requirements/requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
bandit
22
build
3+
commitizen
34
coverage
45
flake8
56
mypy

0 commit comments

Comments
 (0)