@@ -7,10 +7,8 @@ name = "stagehand"
7
7
version = " 0.0.6"
8
8
description = " Python SDK for Stagehand"
9
9
readme = " README.md"
10
- license = {text = " MIT" }
11
- authors = [
12
- {
name =
" Browserbase, Inc." ,
email =
" [email protected] " }
13
- ]
10
+ license = { text = " MIT" }
11
+ authors = [{
name =
" Browserbase, Inc." ,
email =
" [email protected] " }]
14
12
classifiers = [
15
13
" Programming Language :: Python :: 3" ,
16
14
" License :: OSI Approved :: MIT License" ,
@@ -62,7 +60,7 @@ stagehand = ["domScripts.js"]
62
60
line-length = 88
63
61
64
62
# Target Python version
65
- target-version = " py39" # Adjust to your version
63
+ target-version = " py39" # Adjust to your version
66
64
67
65
# Exclude a variety of commonly ignored directories
68
66
exclude = [
@@ -72,7 +70,7 @@ exclude = [
72
70
" venv" ,
73
71
" .venv" ,
74
72
" dist" ,
75
- " tests"
73
+ " tests" ,
76
74
]
77
75
78
76
# Define lint-specific settings here
@@ -123,7 +121,7 @@ addopts = [
123
121
" --strict-markers" ,
124
122
" --strict-config" ,
125
123
" -ra" ,
126
- " --tb=short"
124
+ " --tb=short" ,
127
125
]
128
126
markers = [
129
127
" unit: Unit tests for individual components" ,
@@ -135,13 +133,13 @@ markers = [
135
133
" llm: Tests involving LLM interactions" ,
136
134
" mock: Tests using mock objects only" ,
137
135
" performance: Performance and load tests" ,
138
- " smoke: Quick smoke tests for basic functionality"
136
+ " smoke: Quick smoke tests for basic functionality" ,
139
137
]
140
138
filterwarnings = [
141
139
" ignore::DeprecationWarning" ,
142
140
" ignore::PendingDeprecationWarning" ,
143
141
" ignore::UserWarning:pytest_asyncio" ,
144
- " ignore::RuntimeWarning"
142
+ " ignore::RuntimeWarning" ,
145
143
]
146
144
minversion = " 7.0"
147
145
@@ -179,4 +177,88 @@ force_grid_wrap = 0
179
177
use_parentheses = true
180
178
ensure_newline_before_comments = true
181
179
skip_gitignore = true
182
- skip_glob = [" **/venv/**" , " **/.venv/**" , " **/__pycache__/**" ]
180
+ skip_glob = [" **/venv/**" , " **/.venv/**" , " **/__pycache__/**" ]
181
+
182
+ [tool .semantic_release ]
183
+ assets = []
184
+ build_command_env = []
185
+ commit_message = " {version}\n\n Automatically generated by python-semantic-release"
186
+ commit_parser = " conventional"
187
+ logging_use_named_masks = false
188
+ major_on_zero = true
189
+ allow_zero_version = false
190
+ no_git_verify = false
191
+ tag_format = " v{version}"
192
+
193
+ [tool .semantic_release .branches .main ]
194
+ match = " (main|master)"
195
+ prerelease_token = " rc"
196
+ prerelease = false
197
+
198
+ [tool .semantic_release .changelog ]
199
+ changelog_file = " "
200
+ exclude_commit_patterns = []
201
+ mode = " update"
202
+ insertion_flag = " <!-- version list -->"
203
+ template_dir = " templates"
204
+
205
+ [tool .semantic_release .changelog .default_templates ]
206
+ changelog_file = " CHANGELOG.md"
207
+ output_format = " md"
208
+ mask_initial_release = true
209
+
210
+ [tool .semantic_release .changelog .environment ]
211
+ block_start_string = " {%"
212
+ block_end_string = " %}"
213
+ variable_start_string = " {{"
214
+ variable_end_string = " }}"
215
+ comment_start_string = " {#"
216
+ comment_end_string = " #}"
217
+ trim_blocks = false
218
+ lstrip_blocks = false
219
+ newline_sequence = " \n "
220
+ keep_trailing_newline = false
221
+ extensions = []
222
+ autoescape = false
223
+
224
+ [tool .semantic_release .commit_author ]
225
+ env = " GIT_COMMIT_AUTHOR"
226
+ default = " semantic-release <semantic-release>"
227
+
228
+ [tool .semantic_release .commit_parser_options ]
229
+ minor_tags = [" feat" ]
230
+ patch_tags = [" fix" , " perf" ]
231
+ other_allowed_tags = [
232
+ " build" ,
233
+ " chore" ,
234
+ " ci" ,
235
+ " docs" ,
236
+ " style" ,
237
+ " refactor" ,
238
+ " test" ,
239
+ ]
240
+ allowed_tags = [
241
+ " feat" ,
242
+ " fix" ,
243
+ " perf" ,
244
+ " build" ,
245
+ " chore" ,
246
+ " ci" ,
247
+ " docs" ,
248
+ " style" ,
249
+ " refactor" ,
250
+ " test" ,
251
+ ]
252
+ default_bump_level = 0
253
+ parse_squash_commits = true
254
+ ignore_merge_commits = true
255
+
256
+ [tool .semantic_release .remote ]
257
+ name = " origin"
258
+ type = " github"
259
+ ignore_token_for_push = false
260
+ insecure = false
261
+
262
+ [tool .semantic_release .publish ]
263
+ dist_glob_patterns = [" dist/*" ]
264
+ upload_to_vcs_release = true
0 commit comments