File tree Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Expand file tree Collapse file tree 3 files changed +22
-3
lines changed Original file line number Diff line number Diff line change 9
9
&& pipx uninstall flake8 \
10
10
&& pipx uninstall black
11
11
12
+ RUN pipx install commitizen
13
+
14
+ RUN umask 0002 \
15
+ && mkdir -p ${PIPX_BIN_DIR} \
16
+ && chown -R "vscode:pipx" ${PIPX_HOME} \
17
+ && chmod -R g+r+w "${PIPX_HOME}"
18
+
12
19
ENV SHELL /bin/bash
Original file line number Diff line number Diff line change 5
5
exclude : ^\.vscode/.*$
6
6
repos :
7
7
- repo : https://github.com/pre-commit/pre-commit-hooks
8
- rev : c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5 .0
8
+ rev : 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6 .0
9
9
hooks :
10
10
- id : trailing-whitespace
11
11
args : ['--markdown-linebreak-ext=md,markdown']
36
36
args :
37
37
- --remove
38
38
- repo : https://github.com/psf/black
39
- rev : 6fdf8a4af28071ed1d079c01122b34c5d587207a # frozen: 24.2.0
39
+ rev : 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
40
40
hooks :
41
41
- id : black
42
42
- repo : https://github.com/pycqa/isort
49
49
- id : python-no-eval
50
50
- id : python-no-log-warn
51
51
- repo : https://github.com/asottile/pyupgrade
52
- rev : df17dfa3911b81b4a27190b0eea5b1debc7ffa0a # frozen: v3.15.1
52
+ rev : 12af25eb252deaaecb6b259df40d01f42e716dc3 # frozen: v3.15.2
53
53
hooks :
54
54
- id : pyupgrade
55
55
args :
85
85
- ' 120'
86
86
- -e
87
87
- -p
88
+ - repo : https://github.com/commitizen-tools/commitizen
89
+ rev : a754230d41a1933fd4ba000014d841dd2a05c71d # frozen: v3.24.0
90
+ hooks :
91
+ - id : commitizen
Original file line number Diff line number Diff line change @@ -113,3 +113,11 @@ warn_redundant_casts = true
113
113
module = ' cloudbot.*'
114
114
check_untyped_defs = true
115
115
warn_return_any = true
116
+
117
+ [tool .commitizen ]
118
+ name = " cz_conventional_commits"
119
+ tag_format = " v$version"
120
+ version_scheme = " semver"
121
+ version_provider = " scm"
122
+ update_changelog_on_bump = true
123
+ major_version_zero = true
You can’t perform that action at this time.
0 commit comments