File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,9 +52,6 @@ plugin_widgets_update = "bec_testing_plugin.bec_widgets.auto_updates"
5252[project .entry-points ."bec .widgets .user_widgets" ]
5353plugin_widgets = " bec_testing_plugin.bec_widgets.widgets"
5454
55- [tool .hatch .build .targets .wheel ]
56- include = [" *" ]
57-
5855[tool .isort ]
5956profile = " black"
6057line_length = 100
@@ -76,3 +73,48 @@ good-names-rgxs = [
7673 " .*_2D.*" ,
7774 " .*_1D.*" ,
7875]
76+
77+ [tool .hatch .build .targets .wheel ]
78+ include = [" *" ]
79+ exclude = [" docs/**" , " tests/**" ]
80+
81+ [tool .hatch .build .targets .sdist ]
82+ include = [" *" ]
83+ exclude = [" docs/**" , " tests/**" ]
84+
85+ [tool .semantic_release ]
86+ build_command = " pip install build wheel && python -m build"
87+ version_toml = [" pyproject.toml:project.version" ]
88+
89+ [tool .semantic_release .commit_author ]
90+ env = " GIT_COMMIT_AUTHOR"
91+ default = " semantic-release <semantic-release>"
92+
93+ [tool .semantic_release .commit_parser_options ]
94+ allowed_tags = [
95+ " build" ,
96+ " chore" ,
97+ " ci" ,
98+ " docs" ,
99+ " feat" ,
100+ " fix" ,
101+ " perf" ,
102+ " style" ,
103+ " refactor" ,
104+ " test" ,
105+ ]
106+ minor_tags = [" feat" ]
107+ patch_tags = [" fix" , " perf" ]
108+ default_bump_level = 0
109+
110+ [tool .semantic_release .remote ]
111+ name = " origin"
112+ type = " github"
113+ ignore_token_for_push = true
114+
115+ [tool .semantic_release .remote .token ]
116+ env = " GH_TOKEN"
117+
118+ [tool .semantic_release .publish ]
119+ dist_glob_patterns = [" dist/*" ]
120+ upload_to_vcs_release = true
You can’t perform that action at this time.
0 commit comments