Skip to content

Commit

Permalink
build: incorporate commitizen-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
engineervix committed Oct 7, 2020
1 parent 0d2b4f8 commit 6ae6d40
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
4 changes: 4 additions & 0 deletions {{cookiecutter.project_slug}}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ exclude = '''
)/
)
'''
[tool.commitizen]
version = "{{cookiecutter.version}}"
tag_format = "v$major.$minor.$patch"
changelog_file = "CHANGELOG.md"
5 changes: 3 additions & 2 deletions {{cookiecutter.project_slug}}/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ xlwt
yattag

# Dev
black
bpython
black
commitizen
doc8
flake8
powerline-status
isort[requirements_deprecated_finder]
pip-tools
powerline-status
pre-commit

# Test
Expand Down
16 changes: 12 additions & 4 deletions {{cookiecutter.project_slug}}/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@ cffi==1.14.3 # via argon2-cffi, bcrypt, cryptography
cfgv==3.2.0 # via pre-commit
chardet==3.0.4 # via doc8, requests
click==7.1.2 # via black, pip-tools
colorama==0.4.3 # via commitizen
commitizen==2.4.1 # via -r requirements.in
coverage==5.3 # via pytest-cov
cryptography==3.1.1 # via pyjwt
csscompressor==0.9.5 # via -r requirements.in
cssselect==1.1.0 # via pyquery
curtsies==0.3.4 # via bpython
dataclasses==0.7 # via black
decli==0.5.2 # via commitizen
deprecated==1.2.10 # via nexmo
distlib==0.3.1 # via virtualenv
django-appconf==1.0.4 # via django-compressor
Expand Down Expand Up @@ -80,15 +83,17 @@ iniconfig==1.0.1 # via pytest
ipinfo==3.0.0 # via -r requirements.in
isort[requirements_deprecated_finder]==5.5.4 # via -r requirements.in
jdcal==1.4.1 # via openpyxl
jinja2==2.11.2 # via commitizen
l18n==2018.5 # via wagtail
lxml==4.5.2 # via pyquery
markdown2==2.3.9 # via readtime
markupsafe==1.1.1 # via jinja2
mccabe==0.6.1 # via flake8
mypy-extensions==0.4.3 # via black
nexmo==2.5.2 # via django-nexmo
nodeenv==1.5.0 # via pre-commit
openpyxl==3.0.5 # via -r requirements.in, tablib
packaging==20.4 # via bleach, pytest, pytest-sugar
packaging==20.4 # via bleach, commitizen, pytest, pytest-sugar
pathspec==0.8.0 # via black
pbr==5.5.0 # via stevedore
phonenumbers==8.12.10 # via -r requirements.in
Expand All @@ -101,6 +106,7 @@ pluggy==0.13.1 # via pytest
ply==3.11 # via slimit
powerline-status==2.7 # via -r requirements.in
pre-commit==2.7.1 # via -r requirements.in
prompt-toolkit==3.0.7 # via questionary
psycopg2==2.8.6 # via -r requirements.in
py==1.9.0 # via pytest, pytest-forked
pycodestyle==2.6.0 # via flake8
Expand All @@ -123,7 +129,8 @@ pytest==6.1.0 # via pytest-cov, pytest-django, pytest-dotenv, pytest
python-dateutil==2.8.1 # via faker
python-dotenv==0.14.0 # via pytest-dotenv
pytz==2020.1 # via django, django-modelcluster, l18n, nexmo
pyyaml==5.3.1 # via -r requirements.in, pre-commit
pyyaml==5.3.1 # via -r requirements.in, commitizen, pre-commit
questionary==1.6.0 # via commitizen
rcssmin==1.0.6 # via django-compressor
readtime==1.1.1 # via -r requirements.in
regex==2020.9.27 # via black, titlecase
Expand All @@ -138,10 +145,11 @@ soupsieve==2.0.1 # via beautifulsoup4
sqlparse==0.3.1 # via django, django-debug-toolbar
stevedore==3.2.2 # via doc8
tablib[xls,xlsx]==2.0.0 # via wagtail
termcolor==1.1.0 # via pytest-sugar
termcolor==1.1.0 # via commitizen, pytest-sugar
text-unidecode==1.3 # via faker
titlecase==1.1.1 # via -r requirements.in
toml==0.10.1 # via black, pre-commit, pytest
tomlkit==0.5.11 # via commitizen
typed-ast==1.4.1 # via black
typing-extensions==3.7.4.3 # via black
ua-parser==0.10.0 # via -r requirements.in, user-agents
Expand All @@ -152,7 +160,7 @@ virtualenv==20.0.31 # via pre-commit
https://github.com/wagtail/wagtail-factories/archive/master.zip # via -r requirements.in
wagtail==2.10.2 # via -r requirements.in, wagtail-factories, wagtailfontawesome
wagtailfontawesome==1.2.1 # via -r requirements.in
wcwidth==0.2.5 # via curtsies
wcwidth==0.2.5 # via curtsies, prompt-toolkit
webencodings==0.5.1 # via bleach, html5lib
werkzeug==1.0.1 # via -r requirements.in
willow==1.4 # via wagtail
Expand Down

0 comments on commit 6ae6d40

Please sign in to comment.