@@ -87,7 +87,7 @@ flake8 = "7.2.0"
87
87
flake8-annotations = " 3.1.1"
88
88
flake8-bugbear = " 24.12.12"
89
89
flake8-copyright-validator = " 0.0.1"
90
- flake8-isort = " 6.1.2"
90
+ flake8-isort = " 6.1.2"
91
91
flake8-quotes = " 3.4.0"
92
92
flake8-use-fstring = " 1.4"
93
93
pep8-naming = " 0.14.1"
@@ -101,10 +101,16 @@ bandit = "1.8.3"
101
101
102
102
[tool .semantic_release ]
103
103
# see https://python-semantic-release.readthedocs.io/en/latest/configuration.html
104
+ logging_use_named_masks = true
105
+ commit_parser = " conventional"
106
+ commit_parser_options = { parse_squash_commits = true , ignore_merge_commits = true }
104
107
commit_author = " semantic-release <semantic-release@bot.local>"
105
108
commit_message = " chore(release): {version}\n\n Automatically generated by python-semantic-release\n\n Signed-off-by: semantic-release <semantic-release@bot.local>"
106
109
upload_to_vcs_release = true
107
- build_command = " pip install poetry && poetry build"
110
+ build_command = """
111
+ pip install poetry
112
+ poetry build
113
+ """
108
114
version_toml = [" pyproject.toml:tool.poetry.version" ]
109
115
version_variables = [
110
116
" cyclonedx/__init__.py:__version__" ,
@@ -116,7 +122,7 @@ dist_glob_patterns = ["dist/*"]
116
122
upload_to_vcs_release = true
117
123
118
124
[tool .semantic_release .changelog ]
119
- changelog_file = " CHANGELOG.md"
125
+ default_templates = { changelog_file = " CHANGELOG.md" }
120
126
exclude_commit_patterns = [
121
127
''' chore(?:\([^)]*?\))?: .+''' ,
122
128
''' ci(?:\([^)]*?\))?: .+''' ,
0 commit comments