Skip to content

Commit 4a480a8

Browse files
committed
docs: tried prototype commitizen with cl-ordering
1 parent f11e1c8 commit 4a480a8

File tree

3 files changed

+69
-53
lines changed

3 files changed

+69
-53
lines changed

CHANGELOG.md

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
### Fix
1515

16+
- prevent legacy types for new commits
1617
- prevent circular import in doit_tasks
1718
- extras need to be defined as optional
1819
- rollback hook changes as they are not working
@@ -26,6 +27,7 @@
2627

2728
### Refactor
2829

30+
- update local TODO notes
2931
- make toml an optional import
3032
- rename path_source to path_project
3133
- rename DIG_CWD as PATH_TEST_PROJECT
@@ -48,7 +50,36 @@
4850
- show STDOUT formatting in DoIt task
4951
- remove archived code
5052

51-
### Change (old)
53+
### New (Old)
54+
55+
- initialize new DIG for #7 (@WIP)
56+
- last version with dash_dev package name (#22)
57+
- ADR template and notes
58+
- separate task_git_add_docs
59+
- archive watchcode task
60+
- move DIG to separate file
61+
- move tasks to use a wildcard import
62+
- add logging. Fixes #5
63+
- intialized tag-finding logic @WIP
64+
- use a new DoItTask type for annotations
65+
- add type annotations
66+
- Loguru configuration for init @WIP
67+
- activate DeepSource
68+
- allow user-content in __init__. Fixes #1
69+
- indicate private functions. Fixes #4
70+
- add loguru!
71+
- add watchcode task for arbitrary files
72+
- flake8-ann & drop pur
73+
- show README contents in __init__
74+
- dump isort & flake8 settings in source path
75+
- improve linting & test tasks
76+
- vastly expanded test coverage
77+
- add ptw as a DoIt LongRunning task
78+
- initialize index.html as redirect
79+
- implement source code from dash_charts
80+
- initialize poetry project
81+
82+
### Change (Old)
5283

5384
- try skipcq above the line
5485
- suppress LGTM warnings
@@ -100,7 +131,7 @@
100131
- call out issues with task_commit_docs @wip
101132
- set Dash version & update whitelist
102133

103-
### Fix (old)
134+
### Fix (Old)
104135

105136
- remaining DS wilcard issue
106137
- try one more time to fix DeepSource * issues
@@ -118,32 +149,3 @@
118149
- commit_docs task
119150
- add missing pystache dep for gitchangelog
120151
- document dash extras in README
121-
122-
### New (old)
123-
124-
- initialize new DIG for #7 (@WIP)
125-
- last version with dash_dev package name (#22)
126-
- ADR template and notes
127-
- separate task_git_add_docs
128-
- archive watchcode task
129-
- move DIG to separate file
130-
- move tasks to use a wildcard import
131-
- add logging. Fixes #5
132-
- intialized tag-finding logic @WIP
133-
- use a new DoItTask type for annotations
134-
- add type annotations
135-
- Loguru configuration for init @WIP
136-
- activate DeepSource
137-
- allow user-content in __init__. Fixes #1
138-
- indicate private functions. Fixes #4
139-
- add loguru!
140-
- add watchcode task for arbitrary files
141-
- flake8-ann & drop pur
142-
- show README contents in __init__
143-
- dump isort & flake8 settings in source path
144-
- improve linting & test tasks
145-
- vastly expanded test coverage
146-
- add ptw as a DoIt LongRunning task
147-
- initialize index.html as redirect
148-
- implement source code from dash_charts
149-
- initialize poetry project

poetry.lock

Lines changed: 23 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.commitizen]
66
name = "cz_legacy"
7+
change_type_order = [
8+
"BREAKING CHANGE", "Feat", "Fix", "Refactor", "Perf",
9+
"New (Old)", "Change (Old)", "Fix (Old)",
10+
]
711
version = "0.1.0"
812
tag_format = "$version"
913
version_files = [ "pyproject.toml", "calcipy/__init__.py",]
1014

1115
[tool.commitizen.cz_legacy_map]
12-
Chg = "Change (old)"
13-
Fix = "Fix (old)"
14-
New = "New (old)"
16+
Chg = "Change (Old)"
17+
Fix = "Fix (Old)"
18+
New = "New (Old)"
1519

1620
[tool.isort]
1721
balanced_wrapping = true
@@ -56,7 +60,7 @@ add-trailing-comma = {version = "*", optional = true}
5660
autopep8 = {version = "*", optional = true}
5761
better-exceptions = {version = "*", optional = true}
5862
cohesion = {version = "*", optional = true}
59-
commitizen = {version = "*", optional = true}
63+
# commitizen = {version = "*", optional = true}
6064
cz_legacy = {version = "*", optional = true}
6165
darglint = {version = "*", optional = true}
6266
dlint = {version = "*", optional = true}
@@ -123,6 +127,11 @@ tqdm = {version = "*", optional = true}
123127
preconvert = {version = "*", optional = true}
124128
preconvert_numpy = {version = "*", optional = true}
125129

130+
[tool.poetry.dev-dependencies.commitizen]
131+
git = "https://github.com/kyleking/commitizen.git"
132+
branch = "issues/319"
133+
optional = true
134+
126135
[tool.poetry.extras]
127136
development = [ "add-trailing-comma", "autopep8", "better-exceptions", "cohesion", "commitizen", "darglint", "doit", "dlint", "flake8", "flake8-2020", "flake8-aaa", "flake8-annotations", "flake8-assertive", "flake8-bandit", "flake8-blind-except", "flake8-breakpoint", "flake8-broken-line", "flake8-bugbear", "flake8-builtins", "flake8-cognitive-complexity", "flake8-commas", "flake8-comprehensions", "flake8-debugger", "flake8-deprecated", "flake8-docstrings", "flake8-eradicate", "flake8-expression-complexity", "flake8-fixme", "flake8-functions", "flake8-isort", "flake8-logging-format", "flake8-markdown", "flake8-mock", "flake8-mutable", "flake8-pep3101", "flake8-plone-hasattr", "flake8-print", "flake8-printf-formatting", "flake8-pytest-style", "flake8-quotes", "flake8-return", "flake8-SQL", "flake8-string-format", "flake8-tuple", "flake8-variables-names", "hacking", "iniparse", "isort", "mkdocs-material", "matplotlib", "pandas-vet", "pep8-naming", "pre-commit", "proselint", "pystache", "pytest", "pytest-cov", "pytest-html", "pytest-watch", "pyupgrade", "radon", "subprocess-tee", "toml", "tqdm", "markdown-include", "mkdocstrings",]
128137
commitizen_legacy = [ "cz_legacy",]

0 commit comments

Comments
 (0)